Package com.ibm.icu.impl
Enum TimeZoneNamesImpl.ZNames.NameTypeIndex
- java.lang.Object
-
- java.lang.Enum<TimeZoneNamesImpl.ZNames.NameTypeIndex>
-
- com.ibm.icu.impl.TimeZoneNamesImpl.ZNames.NameTypeIndex
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TimeZoneNamesImpl.ZNames.NameTypeIndex>
- Enclosing class:
- TimeZoneNamesImpl.ZNames
private static enum TimeZoneNamesImpl.ZNames.NameTypeIndex extends java.lang.Enum<TimeZoneNamesImpl.ZNames.NameTypeIndex>
Private enum corresponding to the public TimeZoneNames::NameType for the order in which fields are stored in a ZNames instance. EXEMPLAR_LOCATION is stored first for efficiency.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXEMPLAR_LOCATION
LONG_DAYLIGHT
LONG_GENERIC
LONG_STANDARD
SHORT_DAYLIGHT
SHORT_GENERIC
SHORT_STANDARD
-
Field Summary
Fields Modifier and Type Field Description (package private) static TimeZoneNamesImpl.ZNames.NameTypeIndex[]
values
-
Constructor Summary
Constructors Modifier Constructor Description private
NameTypeIndex()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TimeZoneNamesImpl.ZNames.NameTypeIndex
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TimeZoneNamesImpl.ZNames.NameTypeIndex[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXEMPLAR_LOCATION
public static final TimeZoneNamesImpl.ZNames.NameTypeIndex EXEMPLAR_LOCATION
-
LONG_GENERIC
public static final TimeZoneNamesImpl.ZNames.NameTypeIndex LONG_GENERIC
-
LONG_STANDARD
public static final TimeZoneNamesImpl.ZNames.NameTypeIndex LONG_STANDARD
-
LONG_DAYLIGHT
public static final TimeZoneNamesImpl.ZNames.NameTypeIndex LONG_DAYLIGHT
-
SHORT_GENERIC
public static final TimeZoneNamesImpl.ZNames.NameTypeIndex SHORT_GENERIC
-
SHORT_STANDARD
public static final TimeZoneNamesImpl.ZNames.NameTypeIndex SHORT_STANDARD
-
SHORT_DAYLIGHT
public static final TimeZoneNamesImpl.ZNames.NameTypeIndex SHORT_DAYLIGHT
-
-
Field Detail
-
values
static final TimeZoneNamesImpl.ZNames.NameTypeIndex[] values
-
-
Method Detail
-
values
public static TimeZoneNamesImpl.ZNames.NameTypeIndex[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TimeZoneNamesImpl.ZNames.NameTypeIndex c : TimeZoneNamesImpl.ZNames.NameTypeIndex.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeZoneNamesImpl.ZNames.NameTypeIndex valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-