APIdia Launch Partner
Top Description Inners Fields Constructors Methods
sun.util.cldr

public Class CLDRTimeZoneNameProviderImpl

extends TimeZoneNameProviderImpl
Class Inheritance
Static Imports
sun.util.locale.provider.LocaleProviderAdapter.Type

Concrete implementation of the TimeZoneNameProvider class for the CLDR LocaleProviderAdapter.
Author
Naoto Sato

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
deriveFallbackName(String[] names, int index, Locale locale, boolean noDST)

private void
private boolean
exists(String[] names, int index)

protected String[]
protected String[][]
getZoneStrings(Locale locale)

Overrides sun.util.locale.provider.TimeZoneNameProviderImpl.getZoneStrings.

Returns a String[][] as the DateFormatSymbols.getZoneStrings() value for the given locale.

private boolean
private boolean
regionFormatFallback(String[] names, int index, Locale l)

private String
toGMTFormat(String id, boolean daylight, Locale l)

private boolean
typeFallback(String[] names, int index)

Inherited from sun.util.locale.provider.TimeZoneNameProviderImpl:
getAvailableLocalesgetDisplayNamegetGenericDisplayNameisSupportedLocale

Field Detail

INDEX_DST_LONGback to summary
private static final int INDEX_DST_LONG
INDEX_DST_SHORTback to summary
private static final int INDEX_DST_SHORT
INDEX_GEN_LONGback to summary
private static final int INDEX_GEN_LONG
INDEX_GEN_SHORTback to summary
private static final int INDEX_GEN_SHORT
INDEX_STD_LONGback to summary
private static final int INDEX_STD_LONG
INDEX_STD_SHORTback to summary
private static final int INDEX_STD_SHORT
INDEX_TZIDback to summary
private static final int INDEX_TZID
NO_INHERITANCE_MARKERback to summary
private static final String NO_INHERITANCE_MARKER

Constructor Detail

CLDRTimeZoneNameProviderImplback to summary
public CLDRTimeZoneNameProviderImpl(LocaleProviderAdapter.Type type, Set<String> langtags)

Method Detail

deriveFallbackNameback to summary
private void deriveFallbackName(String[] names, int index, Locale locale, boolean noDST)
deriveFallbackNamesback to summary
private void deriveFallbackNames(String[] names, Locale locale)
existsback to summary
private boolean exists(String[] names, int index)
getDisplayNameArrayback to summary
protected String[] getDisplayNameArray(String id, Locale locale)

Overrides sun.util.locale.provider.TimeZoneNameProviderImpl.getDisplayNameArray.

Annotations
@Override
getZoneStringsback to summary
protected String[][] getZoneStrings(Locale locale)

Overrides sun.util.locale.provider.TimeZoneNameProviderImpl.getZoneStrings.

Doc from sun.util.locale.provider.TimeZoneNameProviderImpl.getZoneStrings.

Returns a String[][] as the DateFormatSymbols.getZoneStrings() value for the given locale.

Annotations
@Override
isFixedOffsetback to summary
private boolean isFixedOffset(String id)
regionFormatFallbackback to summary
private boolean regionFormatFallback(String[] names, int index, Locale l)
toGMTFormatback to summary
private String toGMTFormat(String id, boolean daylight, Locale l)
typeFallbackback to summary
private boolean typeFallback(String[] names, int index)
sun.util.cldr back to summary

private Class CLDRTimeZoneNameProviderImpl.AVAILABLE_IDS

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final String[]

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
pack-priv static final String[] INSTANCE

Constructor Detail

AVAILABLE_IDSback to summary
private AVAILABLE_IDS()