PredefinedFormat<int> class
Predefined date/time formats -- see {@link CustomDateTimeFormat} if you need some format that isn't supplied here.
class PredefinedFormat<int> extends Enum { const PredefinedFormat(int type) : super (type); // TODO(jat): Javadoc to explain these formats /** * ISO 8601 date format, fixed across all locales. * <p>Example: {@code 2008-10-03T10:29:40.046-04:00} * <p>http://code.google.com/p/google-web-toolkit/issues/detail?id=3068 * <p>http://www.iso.org/iso/support/faqs/faqs_widely_used_standards/widely_used_standards_other/date_and_time_format.htm */ static const PredefinedFormat ISO_8601 = const PredefinedFormat(0); /** * RFC 2822 date format, fixed across all locales. * <p>Example: {@code Thu, 20 May 2010 17:54:50 -0700} * <p>http://tools.ietf.org/html/rfc2822#section-3.3 */ static const PredefinedFormat RFC_2822 = const PredefinedFormat(1); static const PredefinedFormat DATE_FULL = const PredefinedFormat(2); static const PredefinedFormat DATE_LONG = const PredefinedFormat(3); static const PredefinedFormat DATE_MEDIUM = const PredefinedFormat(4); static const PredefinedFormat DATE_SHORT = const PredefinedFormat(5); static const PredefinedFormat TIME_FULL = const PredefinedFormat(6); static const PredefinedFormat TIME_LONG = const PredefinedFormat(7); static const PredefinedFormat TIME_MEDIUM = const PredefinedFormat(8); static const PredefinedFormat TIME_SHORT = const PredefinedFormat(9); static const PredefinedFormat DATE_TIME_FULL = const PredefinedFormat(10); static const PredefinedFormat DATE_TIME_LONG = const PredefinedFormat(11); static const PredefinedFormat DATE_TIME_MEDIUM = const PredefinedFormat(12); static const PredefinedFormat DATE_TIME_SHORT = const PredefinedFormat(13); static const PredefinedFormat DAY = const PredefinedFormat(14); static const PredefinedFormat HOUR_MINUTE = const PredefinedFormat(15); static const PredefinedFormat HOUR_MINUTE_SECOND = const PredefinedFormat(16); static const PredefinedFormat HOUR24_MINUTE = const PredefinedFormat(17); static const PredefinedFormat HOUR24_MINUTE_SECOND = const PredefinedFormat(18); static const PredefinedFormat MINUTE_SECOND = const PredefinedFormat(19); static const PredefinedFormat MONTH = const PredefinedFormat(20); static const PredefinedFormat MONTH_ABBR = const PredefinedFormat(21); static const PredefinedFormat MONTH_ABBR_DAY = const PredefinedFormat(22); static const PredefinedFormat MONTH_DAY = const PredefinedFormat(23); static const PredefinedFormat MONTH_NUM_DAY = const PredefinedFormat(24); static const PredefinedFormat MONTH_WEEKDAY_DAY = const PredefinedFormat(25); static const PredefinedFormat YEAR = const PredefinedFormat(26); static const PredefinedFormat YEAR_MONTH = const PredefinedFormat(27); static const PredefinedFormat YEAR_MONTH_ABBR = const PredefinedFormat(28); static const PredefinedFormat YEAR_MONTH_ABBR_DAY = const PredefinedFormat(29); static const PredefinedFormat YEAR_MONTH_DAY = const PredefinedFormat(30); static const PredefinedFormat YEAR_MONTH_NUM = const PredefinedFormat(31); static const PredefinedFormat YEAR_MONTH_NUM_DAY = const PredefinedFormat(32); static const PredefinedFormat YEAR_MONTH_WEEKDAY_DAY = const PredefinedFormat(33); static const PredefinedFormat YEAR_QUARTER = const PredefinedFormat(34); static const PredefinedFormat YEAR_QUARTER_ABBR = const PredefinedFormat(35); }
Extends
Enum > PredefinedFormat<int>
Static Properties
const PredefinedFormat DATE_FULL #
static const PredefinedFormat DATE_FULL = const PredefinedFormat(2)
const PredefinedFormat DATE_LONG #
static const PredefinedFormat DATE_LONG = const PredefinedFormat(3)
const PredefinedFormat DATE_MEDIUM #
static const PredefinedFormat DATE_MEDIUM = const PredefinedFormat(4)
const PredefinedFormat DATE_SHORT #
static const PredefinedFormat DATE_SHORT = const PredefinedFormat(5)
const PredefinedFormat DATE_TIME_FULL #
static const PredefinedFormat DATE_TIME_FULL = const PredefinedFormat(10)
const PredefinedFormat DATE_TIME_LONG #
static const PredefinedFormat DATE_TIME_LONG = const PredefinedFormat(11)
const PredefinedFormat DATE_TIME_MEDIUM #
static const PredefinedFormat DATE_TIME_MEDIUM = const PredefinedFormat(12)
const PredefinedFormat DATE_TIME_SHORT #
static const PredefinedFormat DATE_TIME_SHORT = const PredefinedFormat(13)
const PredefinedFormat DAY #
static const PredefinedFormat DAY = const PredefinedFormat(14)
const PredefinedFormat HOUR24_MINUTE #
static const PredefinedFormat HOUR24_MINUTE = const PredefinedFormat(17)
const PredefinedFormat HOUR24_MINUTE_SECOND #
static const PredefinedFormat HOUR24_MINUTE_SECOND = const PredefinedFormat(18)
const PredefinedFormat HOUR_MINUTE #
static const PredefinedFormat HOUR_MINUTE = const PredefinedFormat(15)
const PredefinedFormat HOUR_MINUTE_SECOND #
static const PredefinedFormat HOUR_MINUTE_SECOND = const PredefinedFormat(16)
const PredefinedFormat ISO_8601 #
ISO 8601 date format, fixed across all locales. <p>Example: {@code 2008-10-03T10:29:40.046-04:00} <p>http://code.google.com/p/google-web-toolkit/issues/detail?id=3068 <p>http://www.iso.org/iso/support/faqs/faqswidelyusedstandards/widelyusedstandardsother/dateandtime_format.htm
static const PredefinedFormat ISO_8601 = const PredefinedFormat(0)
const PredefinedFormat MINUTE_SECOND #
static const PredefinedFormat MINUTE_SECOND = const PredefinedFormat(19)
const PredefinedFormat MONTH #
static const PredefinedFormat MONTH = const PredefinedFormat(20)
const PredefinedFormat MONTH_ABBR #
static const PredefinedFormat MONTH_ABBR = const PredefinedFormat(21)
const PredefinedFormat MONTH_ABBR_DAY #
static const PredefinedFormat MONTH_ABBR_DAY = const PredefinedFormat(22)
const PredefinedFormat MONTH_DAY #
static const PredefinedFormat MONTH_DAY = const PredefinedFormat(23)
const PredefinedFormat MONTH_NUM_DAY #
static const PredefinedFormat MONTH_NUM_DAY = const PredefinedFormat(24)
const PredefinedFormat MONTH_WEEKDAY_DAY #
static const PredefinedFormat MONTH_WEEKDAY_DAY = const PredefinedFormat(25)
const PredefinedFormat RFC_2822 #
RFC 2822 date format, fixed across all locales. <p>Example: {@code Thu, 20 May 2010 17:54:50 -0700} <p>http://tools.ietf.org/html/rfc2822#section-3.3
static const PredefinedFormat RFC_2822 = const PredefinedFormat(1)
const PredefinedFormat TIME_FULL #
static const PredefinedFormat TIME_FULL = const PredefinedFormat(6)
const PredefinedFormat TIME_LONG #
static const PredefinedFormat TIME_LONG = const PredefinedFormat(7)
const PredefinedFormat TIME_MEDIUM #
static const PredefinedFormat TIME_MEDIUM = const PredefinedFormat(8)
const PredefinedFormat TIME_SHORT #
static const PredefinedFormat TIME_SHORT = const PredefinedFormat(9)
const PredefinedFormat YEAR #
static const PredefinedFormat YEAR = const PredefinedFormat(26)
const PredefinedFormat YEAR_MONTH #
static const PredefinedFormat YEAR_MONTH = const PredefinedFormat(27)
const PredefinedFormat YEAR_MONTH_ABBR #
static const PredefinedFormat YEAR_MONTH_ABBR = const PredefinedFormat(28)
const PredefinedFormat YEAR_MONTH_ABBR_DAY #
static const PredefinedFormat YEAR_MONTH_ABBR_DAY = const PredefinedFormat(29)
const PredefinedFormat YEAR_MONTH_DAY #
static const PredefinedFormat YEAR_MONTH_DAY = const PredefinedFormat(30)
const PredefinedFormat YEAR_MONTH_NUM #
static const PredefinedFormat YEAR_MONTH_NUM = const PredefinedFormat(31)
const PredefinedFormat YEAR_MONTH_NUM_DAY #
static const PredefinedFormat YEAR_MONTH_NUM_DAY = const PredefinedFormat(32)
const PredefinedFormat YEAR_MONTH_WEEKDAY_DAY #
static const PredefinedFormat YEAR_MONTH_WEEKDAY_DAY = const PredefinedFormat(33)
const PredefinedFormat YEAR_QUARTER #
static const PredefinedFormat YEAR_QUARTER = const PredefinedFormat(34)
const PredefinedFormat YEAR_QUARTER_ABBR #
static const PredefinedFormat YEAR_QUARTER_ABBR = const PredefinedFormat(35)