|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TimeZoneFormat.Style>
com.ibm.icu.text.TimeZoneFormat.Style
public static enum TimeZoneFormat.Style
Time zone display format style enum used by format/parse APIs in TimeZoneFormat.
TimeZoneFormat.format(Style, TimeZone, long),
TimeZoneFormat.format(Style, TimeZone, long, Output),
TimeZoneFormat.parse(Style, String, ParsePosition, Output)| Enum Constant Summary | |
|---|---|
GENERIC_LOCATION
Deprecated. This API might change or be removed in a future release. |
|
GENERIC_LONG
Deprecated. This API might change or be removed in a future release. |
|
GENERIC_SHORT
Deprecated. This API might change or be removed in a future release. |
|
LOCALIZED_GMT
Deprecated. This API might change or be removed in a future release. |
|
RFC822
Deprecated. This API might change or be removed in a future release. |
|
SPECIFIC_LONG
Deprecated. This API might change or be removed in a future release. |
|
SPECIFIC_SHORT
Deprecated. This API might change or be removed in a future release. |
|
SPECIFIC_SHORT_COMMONLY_USED
Deprecated. This API might change or be removed in a future release. |
|
| Method Summary | |
|---|---|
static TimeZoneFormat.Style |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static TimeZoneFormat.Style[] |
values()
Deprecated. 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 |
|---|
public static final TimeZoneFormat.Style GENERIC_LOCATION
public static final TimeZoneFormat.Style GENERIC_LONG
public static final TimeZoneFormat.Style GENERIC_SHORT
public static final TimeZoneFormat.Style SPECIFIC_LONG
public static final TimeZoneFormat.Style SPECIFIC_SHORT
public static final TimeZoneFormat.Style RFC822
public static final TimeZoneFormat.Style LOCALIZED_GMT
public static final TimeZoneFormat.Style SPECIFIC_SHORT_COMMONLY_USED
Note: This is a variant of SPECIFIC_SHORT, but
excluding short abbreviations not commonly recognized by people
for the locale.
| Method Detail |
|---|
public static TimeZoneFormat.Style[] values()
for (TimeZoneFormat.Style c : TimeZoneFormat.Style.values()) System.out.println(c);
public static TimeZoneFormat.Style valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||