java.io.Serializable
, java.lang.Comparable<TimeZoneNames.NameType>
public static enum TimeZoneNames.NameType extends java.lang.Enum<TimeZoneNames.NameType>
Enum Constant | Description |
---|---|
EXEMPLAR_LOCATION |
Exemplar location name, such as "Los Angeles".
|
LONG_DAYLIGHT |
Long display name for daylight saving time, such as "Eastern Daylight Time".
|
LONG_GENERIC |
Long display name, such as "Eastern Time".
|
LONG_STANDARD |
Long display name for standard time, such as "Eastern Standard Time".
|
SHORT_DAYLIGHT |
Short display name for daylight saving time, such as "EDT".
|
SHORT_GENERIC |
Short display name, such as "ET".
|
SHORT_STANDARD |
Short display name for standard time, such as "EST".
|
Modifier and Type | Method | Description |
---|---|---|
static TimeZoneNames.NameType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TimeZoneNames.NameType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeZoneNames.NameType LONG_GENERIC
public static final TimeZoneNames.NameType LONG_STANDARD
public static final TimeZoneNames.NameType LONG_DAYLIGHT
public static final TimeZoneNames.NameType SHORT_GENERIC
public static final TimeZoneNames.NameType SHORT_STANDARD
public static final TimeZoneNames.NameType SHORT_DAYLIGHT
public static final TimeZoneNames.NameType EXEMPLAR_LOCATION
public static TimeZoneNames.NameType[] values()
for (TimeZoneNames.NameType c : TimeZoneNames.NameType.values()) System.out.println(c);
public static TimeZoneNames.NameType 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 ? 2016 Unicode, Inc. and others.