|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.list.CmsListDateFormatter
public class CmsListDateFormatter
Simple formatter for dates.
Constructor Summary | |
---|---|
CmsListDateFormatter()
Default constructor. |
|
CmsListDateFormatter(int dateStyle,
int timeStyle)
Customizable constructor. |
Method Summary | |
---|---|
java.lang.String |
format(java.lang.Object data,
java.util.Locale locale)
Returns a formatted string for the specified data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsListDateFormatter()
Use medium style.
public CmsListDateFormatter(int dateStyle, int timeStyle)
dateStyle
- the style for the date parttimeStyle
- the style for the time partDateFormat
Method Detail |
---|
public java.lang.String format(java.lang.Object data, java.util.Locale locale)
I_CmsListFormatter
Take care of null
data.
format
in interface I_CmsListFormatter
data
- the data to formatlocale
- the locale for formatting
I_CmsListFormatter.format(java.lang.Object, java.util.Locale)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |