The Wayback Machine - https://web.archive.org/web/20161221111518/https://developer.android.google.cn/reference/android/icu/text/TimeZoneFormat.ParseOption.html
Skip to content

Most visited

Recently visited

navigation

TimeZoneFormat.ParseOption

public static final enum TimeZoneFormat.ParseOption
extends Enum<TimeZoneFormat.ParseOption>

java.lang.Object
   ↳ java.lang.Enum<android.icu.text.TimeZoneFormat.ParseOption>
     ↳ android.icu.text.TimeZoneFormat.ParseOption


Parse option enum, used for specifying optional parse behavior.

Summary

Enum values

TimeZoneFormat.ParseOption  ALL_STYLES

When a time zone display name is not found within a set of display names used for the specified style, look for the name from display names used by other styles. 

TimeZoneFormat.ParseOption  TZ_DATABASE_ABBREVIATIONS

When parsing a time zone display name in SPECIFIC_SHORT, look for the IANA tz database compatible zone abbreviations in addition to the localized names coming from the TimeZoneNames currently used by the TimeZoneFormat

Public methods

static TimeZoneFormat.ParseOption valueOf(String name)
static final ParseOption[] values()

Inherited methods

ImageFrom class java.lang.Enum
ImageFrom class java.lang.Object
ImageFrom interface java.lang.Comparable

Enum values

ALL_STYLES

Added in API level 24
TimeZoneFormat.ParseOption ALL_STYLES

When a time zone display name is not found within a set of display names used for the specified style, look for the name from display names used by other styles.

TZ_DATABASE_ABBREVIATIONS

Added in API level 24
TimeZoneFormat.ParseOption TZ_DATABASE_ABBREVIATIONS

When parsing a time zone display name in SPECIFIC_SHORT, look for the IANA tz database compatible zone abbreviations in addition to the localized names coming from the TimeZoneNames currently used by the TimeZoneFormat.

Public methods

valueOf

Added in API level 24
TimeZoneFormat.ParseOption valueOf (String name)

Parameters
name String
Returns
TimeZoneFormat.ParseOption

values

Added in API level 24
ParseOption[] values ()

Returns
ParseOption[]
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.