Class DatePickerFormatUtilities
- java.lang.Object
-
- org.uberfire.ext.widgets.common.client.common.DatePickerFormatUtilities
-
public class DatePickerFormatUtilities extends Object
Utilties to handle conversion between GWT's DateFormat to BS3's DateFormat
-
-
Constructor Summary
Constructors Constructor Description DatePickerFormatUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringconvertToBS3DateFormat(String gwtDateFormat)BS3's DateFormat constants:
-
-
-
Method Detail
-
convertToBS3DateFormat
public static String convertToBS3DateFormat(String gwtDateFormat)
BS3's DateFormat constants:- See Also:
The date format, combination of p, P, h, hh, i, ii, s, ss, d, dd, m, mm, M, MM, yy, yyyy. p meridian in lower case ('am' or 'pm') - according to locale file P meridian in upper case ('AM' or 'PM') - according to locale file s seconds without leading zeros ss seconds, 2 digits with leading zeros i minutes without leading zeros ii minutes, 2 digits with leading zeros h hour without leading zeros - 24-hour format hh hour, 2 digits with leading zeros - 24-hour format H hour without leading zeros - 12-hour format HH hour, 2 digits with leading zeros - 12-hour format d day of the month without leading zeros dd day of the month, 2 digits with leading zeros m numeric representation of month without leading zeros mm numeric representation of the month, 2 digits with leading zeros M short textual representation of a month, three letters MM full textual representation of a month, such as January or March yy two digit representation of a year yyyy full numeric representation of a year, 4 digits GWT's DateFormat constants:,G era designator Text AD y year Number 1996 L standalone month in year Text or Number July (or) 07 M month in year Text or Number July (or) 07 d day in month Number 10 h hour in am/pm (1-12) Number 12 H hour in day (0-23) Number 0 m minute in hour Number 30 s second in minute Number 55 S fractional second Number 978 E day of week Text Tuesday c standalone day of week Text Tuesday a am/pm marker Text PM k hour in day (1-24) Number 24 K hour in am/pm (0-11) Number 0 z time zone Text Pacific Standard Time(see comment) Z time zone (RFC 822) Text -0800(See comment) v time zone id Text America/Los_Angeles(See comment) ' escape for text Delimiter 'Date=' '' single quote Literal 'o''clock'
-
-