Package org.opencms.workplace.list
Class CmsListTimeIntervalFormatter
java.lang.Object
org.opencms.workplace.list.CmsListTimeIntervalFormatter
- All Implemented Interfaces:
I_CmsListFormatter
Simple formatter for time intervals.
- Since:
- 6.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CmsListTimeIntervalFormatter
public CmsListTimeIntervalFormatter()Default constructor.Use dd:hh:mm:ss style.
-
-
Method Details
-
format
Description copied from interface:I_CmsListFormatterReturns a formatted string for the specified data.Take care of
nulldata.- Specified by:
formatin interfaceI_CmsListFormatter- Parameters:
data- the data to formatlocale- the locale for formatting- Returns:
- formatted data
- See Also:
-