Serializable
, Comparable<TimeZone.SystemTimeZoneType>
public static enum TimeZone.SystemTimeZoneType extends Enum<TimeZone.SystemTimeZoneType>
TimeZone.getAvailableIDs(SystemTimeZoneType, String, Integer)
Enum Constant | Description |
---|---|
ANY |
Any system zones.
|
CANONICAL |
Canonical system zones.
|
CANONICAL_LOCATION |
Canonical system zones associated with actual locations.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
public static final TimeZone.SystemTimeZoneType ANY
public static final TimeZone.SystemTimeZoneType CANONICAL
public static final TimeZone.SystemTimeZoneType CANONICAL_LOCATION
public static TimeZone.SystemTimeZoneType[] values()
for (TimeZone.SystemTimeZoneType c : TimeZone.SystemTimeZoneType.values()) System.out.println(c);
public static TimeZone.SystemTimeZoneType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright ? 2016 Unicode, Inc. and others.