TimeZoneNames.NameType
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
Summary
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 | |
---|---|
Enum values
EXEMPLAR_LOCATION
public static final TimeZoneNames.NameType EXEMPLAR_LOCATION
Exemplar location name, such as "Los Angeles".
LONG_DAYLIGHT
public static final TimeZoneNames.NameType LONG_DAYLIGHT
Long display name for daylight saving time, such as "Eastern Daylight Time".
LONG_GENERIC
public static final TimeZoneNames.NameType LONG_GENERIC
Long display name, such as "Eastern Time".
LONG_STANDARD
public static final TimeZoneNames.NameType LONG_STANDARD
Long display name for standard time, such as "Eastern Standard Time".
SHORT_DAYLIGHT
public static final TimeZoneNames.NameType SHORT_DAYLIGHT
Short display name for daylight saving time, such as "EDT".
SHORT_GENERIC
public static final TimeZoneNames.NameType SHORT_GENERIC
Short display name, such as "ET".
SHORT_STANDARD
public static final TimeZoneNames.NameType SHORT_STANDARD
Short display name for standard time, such as "EST".
Public methods
valueOf
public static TimeZoneNames.NameType valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
TimeZoneNames.NameType |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.