public final class NiceDate extends java.lang.Object implements StringFormat
Constructor and Description |
---|
NiceDate() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.String sTag,
java.lang.String sOption,
java.lang.String s)
Transform a date into something user-friendly ("today", "yesterday" ...)
|
public java.lang.String format(java.lang.String sTag, java.lang.String sOption, java.lang.String s)
format
in interface StringFormat
sTag
- tag name, ignoredsOption
- always "nicedate"s
- date representationFormat.showNiceDate(java.util.Date)
,
Format.parseDate(String)