| Enum Constant and Description |
|---|
LONG_DAYLIGHT_TIME
Long name in summer time (daylight saving).
|
LONG_STANDARD_TIME
Long name in winter time (standard time).
|
SHORT_DAYLIGHT_TIME
Abbreviation in summer time (daylight saving).
|
SHORT_STANDARD_TIME
Abbreviation in winter time (standard time).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAbbreviation()
Does this style denote an abbreviation?
|
boolean |
isDaylightSaving()
Does this style denote a daylight saving time?
|
static NameStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NameStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameStyle SHORT_STANDARD_TIME
Abbreviation in winter time (standard time).
Example: CET
public static final NameStyle LONG_STANDARD_TIME
Long name in winter time (standard time).
Example: Central European Time
public static final NameStyle SHORT_DAYLIGHT_TIME
Abbreviation in summer time (daylight saving).
Example: CEST
public static final NameStyle LONG_DAYLIGHT_TIME
Long name in summer time (daylight saving).
Example: Central European Summer Time
public static NameStyle[] values()
for (NameStyle c : NameStyle.values()) System.out.println(c);
public static NameStyle 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 nullpublic boolean isAbbreviation()
Does this style denote an abbreviation?
public boolean isDaylightSaving()
Does this style denote a daylight saving time?