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:
Serializable
,Comparable<TimeZoneNamesImpl.ZNames.NameTypeIndex>
,java.lang.constant.Constable
- Enclosing class:
- TimeZoneNamesImpl.ZNames
private static enum TimeZoneNamesImpl.ZNames.NameTypeIndex
extends 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final TimeZoneNamesImpl.ZNames.NameTypeIndex[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXEMPLAR_LOCATION
-
LONG_GENERIC
-
LONG_STANDARD
-
LONG_DAYLIGHT
-
SHORT_GENERIC
-
SHORT_STANDARD
-
SHORT_DAYLIGHT
-
-
Field Details
-
values
-
-
Constructor Details
-
NameTypeIndex
private NameTypeIndex()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-