|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DateTimeFormat.PredefinedFormat> com.google.gwt.i18n.client.DateTimeFormat.PredefinedFormat
public static enum DateTimeFormat.PredefinedFormat
Predefined date/time formats -- see CustomDateTimeFormat
if you
need some format that isn't supplied here.
deprecated use DateTimeFormat.PredefinedFormat
instead
Enum Constant Summary | |
---|---|
DATE_FULL
|
|
DATE_LONG
|
|
DATE_MEDIUM
|
|
DATE_SHORT
|
|
DATE_TIME_FULL
|
|
DATE_TIME_LONG
|
|
DATE_TIME_MEDIUM
|
|
DATE_TIME_SHORT
|
|
DAY
|
|
HOUR_MINUTE
|
|
HOUR_MINUTE_SECOND
|
|
HOUR24_MINUTE
|
|
HOUR24_MINUTE_SECOND
|
|
ISO_8601
ISO 8601 date format, fixed across all locales. |
|
MINUTE_SECOND
|
|
MONTH
|
|
MONTH_ABBR
|
|
MONTH_ABBR_DAY
|
|
MONTH_DAY
|
|
MONTH_NUM_DAY
|
|
MONTH_WEEKDAY_DAY
|
|
RFC_2822
RFC 2822 date format, fixed across all locales. |
|
TIME_FULL
|
|
TIME_LONG
|
|
TIME_MEDIUM
|
|
TIME_SHORT
|
|
YEAR
|
|
YEAR_MONTH
|
|
YEAR_MONTH_ABBR
|
|
YEAR_MONTH_ABBR_DAY
|
|
YEAR_MONTH_DAY
|
|
YEAR_MONTH_NUM
|
|
YEAR_MONTH_NUM_DAY
|
|
YEAR_MONTH_WEEKDAY_DAY
|
|
YEAR_QUARTER
|
|
YEAR_QUARTER_ABBR
|
Method Summary | |
---|---|
static DateTimeFormat.PredefinedFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DateTimeFormat.PredefinedFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DateTimeFormat.PredefinedFormat ISO_8601
Example: 2008-10-03T10:29:40.046-04:00
http://code.google.com/p/google-web-toolkit/issues/detail?id=3068
http://www.iso.org/iso/support/faqs/faqs_widely_used_standards/widely_used_standards_other/date_and_time_format.htm
public static final DateTimeFormat.PredefinedFormat RFC_2822
Example: Thu, 20 May 2010 17:54:50 -0700
http://tools.ietf.org/html/rfc2822#section-3.3
public static final DateTimeFormat.PredefinedFormat DATE_FULL
public static final DateTimeFormat.PredefinedFormat DATE_LONG
public static final DateTimeFormat.PredefinedFormat DATE_MEDIUM
public static final DateTimeFormat.PredefinedFormat DATE_SHORT
public static final DateTimeFormat.PredefinedFormat TIME_FULL
public static final DateTimeFormat.PredefinedFormat TIME_LONG
public static final DateTimeFormat.PredefinedFormat TIME_MEDIUM
public static final DateTimeFormat.PredefinedFormat TIME_SHORT
public static final DateTimeFormat.PredefinedFormat DATE_TIME_FULL
public static final DateTimeFormat.PredefinedFormat DATE_TIME_LONG
public static final DateTimeFormat.PredefinedFormat DATE_TIME_MEDIUM
public static final DateTimeFormat.PredefinedFormat DATE_TIME_SHORT
public static final DateTimeFormat.PredefinedFormat DAY
public static final DateTimeFormat.PredefinedFormat HOUR_MINUTE
public static final DateTimeFormat.PredefinedFormat HOUR_MINUTE_SECOND
public static final DateTimeFormat.PredefinedFormat HOUR24_MINUTE
public static final DateTimeFormat.PredefinedFormat HOUR24_MINUTE_SECOND
public static final DateTimeFormat.PredefinedFormat MINUTE_SECOND
public static final DateTimeFormat.PredefinedFormat MONTH
public static final DateTimeFormat.PredefinedFormat MONTH_ABBR
public static final DateTimeFormat.PredefinedFormat MONTH_ABBR_DAY
public static final DateTimeFormat.PredefinedFormat MONTH_DAY
public static final DateTimeFormat.PredefinedFormat MONTH_NUM_DAY
public static final DateTimeFormat.PredefinedFormat MONTH_WEEKDAY_DAY
public static final DateTimeFormat.PredefinedFormat YEAR
public static final DateTimeFormat.PredefinedFormat YEAR_MONTH
public static final DateTimeFormat.PredefinedFormat YEAR_MONTH_ABBR
public static final DateTimeFormat.PredefinedFormat YEAR_MONTH_ABBR_DAY
public static final DateTimeFormat.PredefinedFormat YEAR_MONTH_DAY
public static final DateTimeFormat.PredefinedFormat YEAR_MONTH_NUM
public static final DateTimeFormat.PredefinedFormat YEAR_MONTH_NUM_DAY
public static final DateTimeFormat.PredefinedFormat YEAR_MONTH_WEEKDAY_DAY
public static final DateTimeFormat.PredefinedFormat YEAR_QUARTER
public static final DateTimeFormat.PredefinedFormat YEAR_QUARTER_ABBR
Method Detail |
---|
public static DateTimeFormat.PredefinedFormat[] values()
for (DateTimeFormat.PredefinedFormat c : DateTimeFormat.PredefinedFormat.values()) System.out.println(c);
public static DateTimeFormat.PredefinedFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |