|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TimeZoneFormat.Style> com.ibm.icu.text.TimeZoneFormat.Style
public static enum TimeZoneFormat.Style
Time zone display format style enum used by format/parse APIs in TimeZoneFormat
.
TimeZoneFormat.format(Style, TimeZone, long)
,
TimeZoneFormat.format(Style, TimeZone, long, Output)
,
TimeZoneFormat.parse(Style, String, ParsePosition, Output)
Enum Constant Summary | |
---|---|
GENERIC_LOCATION
Generic location format, such as "United States Time (New York)", "Italy Time" |
|
GENERIC_LONG
Generic long non-location format, such as "Eastern Time". |
|
GENERIC_SHORT
Generic short non-location format, such as "ET". |
|
ISO8601
ISO 8601 format (extended), such as "-05:00", "Z"(UTC) |
|
LOCALIZED_GMT
Localized GMT offset format, such as "GMT-05:00", "UTC+0100" |
|
RFC822
RFC822 format, such as "-0500" |
|
SPECIFIC_LONG
Specific long format, such as "Eastern Standard Time". |
|
SPECIFIC_SHORT
Specific short format, such as "EST", "PDT". |
Method Summary | |
---|---|
static TimeZoneFormat.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TimeZoneFormat.Style[] |
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 TimeZoneFormat.Style GENERIC_LOCATION
public static final TimeZoneFormat.Style GENERIC_LONG
public static final TimeZoneFormat.Style GENERIC_SHORT
public static final TimeZoneFormat.Style SPECIFIC_LONG
public static final TimeZoneFormat.Style SPECIFIC_SHORT
public static final TimeZoneFormat.Style RFC822
public static final TimeZoneFormat.Style LOCALIZED_GMT
public static final TimeZoneFormat.Style ISO8601
Method Detail |
---|
public static TimeZoneFormat.Style[] values()
for (TimeZoneFormat.Style c : TimeZoneFormat.Style.values()) System.out.println(c);
public static TimeZoneFormat.Style valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |