|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.list.CmsListTimeFormatter
Simple formatter for time.
Constructor Summary | |
CmsListTimeFormatter()
Default constructor. |
|
CmsListTimeFormatter(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 CmsListTimeFormatter()
Use medium style.
public CmsListTimeFormatter(int timeStyle)
timeStyle
- 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 |