| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | TimeZoneNamesImpl.NameInfo
An instance of NameInfo is stored in the zone names trie. |
| private static class | TimeZoneNamesImpl.NameSearchHandler
NameSearchHandler is used for collecting name matches. |
| private static class | |
| private static class | TimeZoneNamesImpl.ZNames
This class stores name data for a meta zone or time zone. |
| private static class | |
| private class | TimeZoneNamesImpl.ZoneStringsLoader
Loads all meta zone and time zone names for this TimeZoneNames' locale. |
| Modifier and Type | Field and Description |
|---|---|
| private transient ConcurrentHashMap | |
| private transient boolean | |
| private transient TextTrieMap | |
| private transient boolean | |
| private transient ConcurrentHashMap | |
| private transient ICUResourceBundle | |
| private static final Pattern | |
| private static volatile Set | |
| private static final String | |
| private static final TimeZoneNamesImpl. | |
| private static final long | |
| private static final TimeZoneNamesImpl. | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Set | |
| pack-priv static Set | |
| pack-priv static String | |
| pack-priv static String | |
| private void | |
| private Collection | |
| public synchronized Collection | find(CharSequence
the text. text, int the starting offset within the text. start, EnumSet<TimeZoneNames.the set of name types, or nameTypesnull for all name types.Overrides com. |
| public Set | getAvailableMetaZoneIDs()
Implements abstract com. |
| public Set | getAvailableMetaZoneIDs(String
The canonical time zone ID. tzID)Implements abstract com. |
| public static String | Returns: the exemplar location name or null if location is not available.the time zone ID tzID)Default exemplar location name based on time zone ID. For example, "America/New_York" -> "New York" |
| public void | getDisplayNames(String tzID, TimeZoneNames.
|
| public String | getExemplarLocationName(String
The canonical time zone ID tzID)Overrides com. |
| public String | getMetaZoneDisplayName(String
The meta zone ID. mzID, TimeZoneNames.The display name type. See typeTimeZoneNames..Implements abstract com. |
| public String | getMetaZoneID(String
The canonical time zone ID. tzID, long The date. date)Implements abstract com. |
| public String | getReferenceZoneID(String
The meta zone ID. mzID, String The region. region)Implements abstract com. |
| public String | getTimeZoneDisplayName(String
The canonical time zone ID. tzID, TimeZoneNames.The display name type. See typeTimeZoneNames..Implements abstract com. |
| private void | initialize(ULocale
The locale locale)Initialize the transient fields, called from the constructor and readObject. |
| private void | |
| public synchronized void | |
| private synchronized TimeZoneNamesImpl. | Returns: An instance of ZNames that includes a set of meta zone display names.the meta zone ID mzID)Returns a set of names for the given meta zone ID. This method loads the set of names into the internal map and trie for future references. |
| private synchronized void | loadStrings(String
the canonical time zone ID tzCanonicalID)Load all strings used by the specified time zone. |
| private synchronized TimeZoneNamesImpl. | Returns: An instance of ZNames that includes a set of time zone display names.the canonical time zone ID tzID)Returns a set of names for the given time zone ID. This method loads the set of names into the internal map and trie for future references. |
| private void | |
| private void |