Package com.hybris.cockpitng.labels.impl
Class DefaultDateLabelProvider
- java.lang.Object
-
- com.hybris.cockpitng.labels.impl.DefaultDateLabelProvider
-
- All Implemented Interfaces:
LabelProvider<java.util.Date>
public class DefaultDateLabelProvider extends java.lang.Object implements LabelProvider<java.util.Date>
-
-
Constructor Summary
Constructors Constructor Description DefaultDateLabelProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription(java.util.Date object)Returns text description for a given Object.protected java.util.LocalegetFormatLocale()protected java.util.TimeZonegetFormatTimeZone()java.lang.StringgetIconPath(java.util.Date object)Returns icon path for a given Object.java.lang.StringgetLabel(java.util.Date date)Returns label for a given Object.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.cockpitng.labels.LabelProvider
getShortLabel
-
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel(java.util.Date date)
Description copied from interface:LabelProviderReturns label for a given Object.- Specified by:
getLabelin interfaceLabelProvider<java.util.Date>- Returns:
- label for a given object
-
getFormatTimeZone
protected java.util.TimeZone getFormatTimeZone()
-
getFormatLocale
protected java.util.Locale getFormatLocale()
-
getDescription
public java.lang.String getDescription(java.util.Date object)
Description copied from interface:LabelProviderReturns text description for a given Object.- Specified by:
getDescriptionin interfaceLabelProvider<java.util.Date>- Returns:
- description for a given object
-
getIconPath
public java.lang.String getIconPath(java.util.Date object)
Description copied from interface:LabelProviderReturns icon path for a given Object.- Specified by:
getIconPathin interfaceLabelProvider<java.util.Date>- Returns:
- icon path for a given object
-
-