com.ibm.icu.util
Enum TimeZone.SystemTimeZoneType

java.lang.Object
  extended by java.lang.Enum<TimeZone.SystemTimeZoneType>
      extended by com.ibm.icu.util.TimeZone.SystemTimeZoneType
All Implemented Interfaces:
Serializable, Comparable<TimeZone.SystemTimeZoneType>
Enclosing class:
TimeZone

public static enum TimeZone.SystemTimeZoneType
extends Enum<TimeZone.SystemTimeZoneType>

[icu] System time zone type constants used by filtering zones in TimeZone.getAvailableIDs(SystemTimeZoneType, String, Integer)

Status:
Draft ICU 4.8.

Enum Constant Summary
ANY
          Any system zones.
CANONICAL
          Canonical system zones.
CANONICAL_LOCATION
          Canonical system zones associated with actual locations.
 
Method Summary
static TimeZone.SystemTimeZoneType valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANY

public static final TimeZone.SystemTimeZoneType ANY
Any system zones.

Status:
Draft ICU 4.8.

CANONICAL

public static final TimeZone.SystemTimeZoneType CANONICAL
Canonical system zones.

Status:
Draft ICU 4.8.

CANONICAL_LOCATION

public static final TimeZone.SystemTimeZoneType CANONICAL_LOCATION
Canonical system zones associated with actual locations.

Status:
Draft ICU 4.8.
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(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright (c) 2011 IBM Corporation and others.