List of usage examples for org.apache.commons.lang3.time FastDateFormat getTimeInstance
public static FastDateFormat getTimeInstance(final int style, final TimeZone timeZone)
Gets a time formatter instance using the specified style and time zone in the default locale.
From source file:info.magnolia.ui.workbench.column.DateColumnFormatter.java
@Inject public DateColumnFormatter(AbstractColumnDefinition definition) { super(definition); final Locale locale = MgnlContext.getLocale(); dateFormatter = FastDateFormat.getDateInstance(FastDateFormat.MEDIUM, locale); timeFormatter = FastDateFormat.getTimeInstance(FastDateFormat.SHORT, locale); }