com.ibm.icu.text
Enum TimeZoneNames.NameType

java.lang.Object
  extended by java.lang.Enum<TimeZoneNames.NameType>
      extended by com.ibm.icu.text.TimeZoneNames.NameType
All Implemented Interfaces:
Serializable, Comparable<TimeZoneNames.NameType>
Enclosing class:
TimeZoneNames

Deprecated. This API might change or be removed in a future release.

public static enum TimeZoneNames.NameType
extends Enum<TimeZoneNames.NameType>

Time zone display name types

Status:
Technology Preview. This API is still in the early stages of development. Use at your own risk.

Enum Constant Summary
LONG_DAYLIGHT
          Deprecated. This API might change or be removed in a future release.
LONG_GENERIC
          Deprecated. This API might change or be removed in a future release.
LONG_STANDARD
          Deprecated. This API might change or be removed in a future release.
SHORT_DAYLIGHT
          Deprecated. This API might change or be removed in a future release.
SHORT_DAYLIGHT_COMMONLY_USED
          Deprecated. This API might change or be removed in a future release.
SHORT_GENERIC
          Deprecated. This API might change or be removed in a future release.
SHORT_STANDARD
          Deprecated. This API might change or be removed in a future release.
SHORT_STANDARD_COMMONLY_USED
          Deprecated. This API might change or be removed in a future release.
 
Method Summary
static TimeZoneNames.NameType valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static TimeZoneNames.NameType[] 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

LONG_GENERIC

public static final TimeZoneNames.NameType LONG_GENERIC
Deprecated. This API might change or be removed in a future release.
Long display name, such as "Eastern Time".

Status:
Technology Preview. This API is still in the early stages of development. Use at your own risk.

LONG_STANDARD

public static final TimeZoneNames.NameType LONG_STANDARD
Deprecated. This API might change or be removed in a future release.
Long display name for standard time, such as "Eastern Standard Time".

Status:
Technology Preview. This API is still in the early stages of development. Use at your own risk.

LONG_DAYLIGHT

public static final TimeZoneNames.NameType LONG_DAYLIGHT
Deprecated. This API might change or be removed in a future release.
Long display name for daylight saving time, such as "Eastern Daylight Time".

Status:
Technology Preview. This API is still in the early stages of development. Use at your own risk.

SHORT_GENERIC

public static final TimeZoneNames.NameType SHORT_GENERIC
Deprecated. This API might change or be removed in a future release.
Short display name, such as "ET".

Status:
Technology Preview. This API is still in the early stages of development. Use at your own risk.

SHORT_STANDARD

public static final TimeZoneNames.NameType SHORT_STANDARD
Deprecated. This API might change or be removed in a future release.
Short display name for standard time, such as "EST".

Status:
Technology Preview. This API is still in the early stages of development. Use at your own risk.

SHORT_DAYLIGHT

public static final TimeZoneNames.NameType SHORT_DAYLIGHT
Deprecated. This API might change or be removed in a future release.
Short display name for daylight saving time, such as "EDT".

Status:
Technology Preview. This API is still in the early stages of development. Use at your own risk.

SHORT_STANDARD_COMMONLY_USED

public static final TimeZoneNames.NameType SHORT_STANDARD_COMMONLY_USED
Deprecated. This API might change or be removed in a future release.
Short display name for standard time, such as "EST".

Note: The short abbreviation might not be well understood by people not familiar with the zone. Unlike SHORT_STANDARD, this type excludes short standard names not commonly used by the region.

Status:
Technology Preview. This API is still in the early stages of development. Use at your own risk.

SHORT_DAYLIGHT_COMMONLY_USED

public static final TimeZoneNames.NameType SHORT_DAYLIGHT_COMMONLY_USED
Deprecated. This API might change or be removed in a future release.
Short display name for daylight saving time, such as "EDT".

Note: The short abbreviation might not be well understood by people not familiar with the zone. Unlike SHORT_DAYLIGHT, this type excludes short daylight names not commonly used by the region.

Status:
Technology Preview. This API is still in the early stages of development. Use at your own risk.
Method Detail

values

public static TimeZoneNames.NameType[] values()
Deprecated. 
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TimeZoneNames.NameType c : TimeZoneNames.NameType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TimeZoneNames.NameType valueOf(String name)
Deprecated. 
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright (c) 2011 IBM Corporation and others.