public
static
final
enum
TimeZoneNames.NameType
extends Enum<TimeZoneNames.NameType>
java.lang.Object | ||
↳ | java.lang.Enum<android.icu.text.TimeZoneNames.NameType> | |
↳ | android.icu.text.TimeZoneNames.NameType |
Time zone display name types
Enum values | |
---|---|
TimeZoneNames.NameType |
EXEMPLAR_LOCATION
Exemplar location name, such as "Los Angeles". |
TimeZoneNames.NameType |
LONG_DAYLIGHT
Long display name for daylight saving time, such as "Eastern Daylight Time". |
TimeZoneNames.NameType |
LONG_GENERIC
Long display name, such as "Eastern Time". |
TimeZoneNames.NameType |
LONG_STANDARD
Long display name for standard time, such as "Eastern Standard Time". |
TimeZoneNames.NameType |
SHORT_DAYLIGHT
Short display name for daylight saving time, such as "EDT". |
TimeZoneNames.NameType |
SHORT_GENERIC
Short display name, such as "ET". |
TimeZoneNames.NameType |
SHORT_STANDARD
Short display name for standard time, such as "EST". |
Public methods | |
---|---|
static
TimeZoneNames.NameType
|
valueOf(String name)
|
static
final
NameType[]
|
values()
|
Inherited methods | |
---|---|
From
class
java.lang.Enum
| |
From
class
java.lang.Object
| |
From
interface
java.lang.Comparable
|
TimeZoneNames.NameType EXEMPLAR_LOCATION
Exemplar location name, such as "Los Angeles".
TimeZoneNames.NameType LONG_DAYLIGHT
Long display name for daylight saving time, such as "Eastern Daylight Time".
TimeZoneNames.NameType LONG_GENERIC
Long display name, such as "Eastern Time".
TimeZoneNames.NameType LONG_STANDARD
Long display name for standard time, such as "Eastern Standard Time".
TimeZoneNames.NameType SHORT_DAYLIGHT
Short display name for daylight saving time, such as "EDT".
TimeZoneNames.NameType SHORT_GENERIC
Short display name, such as "ET".
TimeZoneNames.NameType SHORT_STANDARD
Short display name for standard time, such as "EST".
TimeZoneNames.NameType valueOf (String name)
Parameters | |
---|---|
name |
String
|
Returns | |
---|---|
TimeZoneNames.NameType |