public static enum TimeZoneFormat.Style extends java.lang.Enum<TimeZoneFormat.Style>
TimeZoneFormat
.Enum Constant and Description |
---|
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".
|
Modifier and Type | Method and Description |
---|---|
static TimeZoneFormat.Style |
valueOf(java.lang.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.
|
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
public static TimeZoneFormat.Style[] values()
for (TimeZoneFormat.Style c : TimeZoneFormat.Style.values()) System.out.println(c);
public static TimeZoneFormat.Style 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 namejava.lang.NullPointerException
- if the argument is nullCopyright (c) 2012 IBM Corporation and others.