Package com.ibm.icu.util
Enum TimeZone.SystemTimeZoneType
- java.lang.Object
-
- java.lang.Enum<TimeZone.SystemTimeZoneType>
-
- com.ibm.icu.util.TimeZone.SystemTimeZoneType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TimeZone.SystemTimeZoneType>
- Enclosing class:
- TimeZone
public static enum TimeZone.SystemTimeZoneType extends java.lang.Enum<TimeZone.SystemTimeZoneType>
System time zone type constants used by filtering zones inTimeZone.getAvailableIDs(SystemTimeZoneType, String, Integer)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
Any system zones.CANONICAL
Canonical system zones.CANONICAL_LOCATION
Canonical system zones associated with actual locations.
-
Constructor Summary
Constructors Modifier Constructor Description private
SystemTimeZoneType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TimeZone.SystemTimeZoneType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TimeZone.SystemTimeZoneType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final TimeZone.SystemTimeZoneType ANY
Any system zones.
-
CANONICAL
public static final TimeZone.SystemTimeZoneType CANONICAL
Canonical system zones.
-
CANONICAL_LOCATION
public static final TimeZone.SystemTimeZoneType CANONICAL_LOCATION
Canonical system zones associated with actual locations.
-
-
Method Detail
-
values
public static TimeZone.SystemTimeZoneType[] 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 (TimeZone.SystemTimeZoneType c : TimeZone.SystemTimeZoneType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeZone.SystemTimeZoneType 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
-
-