java.io.Serializable
, java.lang.Comparable<TimeZoneFormat.ParseOption>
public static enum TimeZoneFormat.ParseOption extends java.lang.Enum<TimeZoneFormat.ParseOption>
Enum Constant | Description |
---|---|
ALL_STYLES |
When a time zone display name is not found within a set of display names
used for the specified style, look for the name from display names used
by other styles.
|
TZ_DATABASE_ABBREVIATIONS |
When parsing a time zone display name in
TimeZoneFormat.Style.SPECIFIC_SHORT ,
look for the IANA tz database compatible zone abbreviations in addition
to the localized names coming from the TimeZoneNames currently
used by the TimeZoneFormat . |
Modifier and Type | Method | Description |
---|---|---|
static TimeZoneFormat.ParseOption |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TimeZoneFormat.ParseOption[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeZoneFormat.ParseOption ALL_STYLES
public static final TimeZoneFormat.ParseOption TZ_DATABASE_ABBREVIATIONS
TimeZoneFormat.Style.SPECIFIC_SHORT
,
look for the IANA tz database compatible zone abbreviations in addition
to the localized names coming from the TimeZoneNames
currently
used by the TimeZoneFormat
.public static TimeZoneFormat.ParseOption[] values()
for (TimeZoneFormat.ParseOption c : TimeZoneFormat.ParseOption.values()) System.out.println(c);
public static TimeZoneFormat.ParseOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright ? 2016 Unicode, Inc. and others.