Home
last modified time | relevance | path

Searched refs:mzID (Results 1 – 25 of 31) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTZDBTimeZoneNames.java90 public String getReferenceZoneID(String mzID, String region) { in getReferenceZoneID() argument
91 return TimeZoneNamesImpl._getReferenceZoneID(mzID, region); in getReferenceZoneID()
99 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName() argument
100 if (mzID == null || mzID.length() == 0 || in getMetaZoneDisplayName()
104 return getMetaZoneNames(mzID).getName(type); in getMetaZoneDisplayName()
221 final String mzID; field in TZDBTimeZoneNames.TZDBNameInfo
226 TZDBNameInfo(String mzID, NameType type, boolean ambiguousType, String[] parseRegions) { in TZDBNameInfo() argument
227 this.mzID = mzID; in TZDBNameInfo()
317 MatchInfo minfo = new MatchInfo(ntype, null, match.mzID, matchLength); in handlePrefixMatch()
339 private static TZDBNames getMetaZoneNames(String mzID) { in getMetaZoneNames() argument
[all …]
DTimeZoneNamesImpl.java108 mzIDs.add(map.mzID()); in _getAvailableMetaZoneIDs()
126 String mzID = null; in _getMetaZoneID() local
130 mzID = map.mzID(); in _getMetaZoneID()
134 return mzID; in _getMetaZoneID()
141 public String getReferenceZoneID(String mzID, String region) { in getReferenceZoneID() argument
142 return _getReferenceZoneID(mzID, region); in getReferenceZoneID()
145 static String _getReferenceZoneID(String mzID, String region) { in _getReferenceZoneID() argument
146 if (mzID == null || mzID.length() == 0) { in _getReferenceZoneID()
150 Map<String, String> regionTzMap = MZ_TO_TZS_CACHE.getInstance(mzID, mzID); in _getReferenceZoneID()
165 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName() argument
[all …]
DTimeZoneGenericNames.java341 String mzID = _tznames.getMetaZoneID(tzID, date); in formatGenericNonLocationName() local
342 if (mzID != null) { in formatGenericNonLocationName()
392 String mzGenericName = _tznames.getMetaZoneDisplayName(mzID, nameType); in formatGenericNonLocationName()
401 String mzName = _tznames.getMetaZoneDisplayName(mzID, nameType); in formatGenericNonLocationName()
406 String goldenID = _tznames.getReferenceZoneID(mzID, getTargetRegion()); in formatGenericNonLocationName()
419 … name = getPartialLocationName(tzID, mzID, (nameType == NameType.LONG_GENERIC), mzName); in formatGenericNonLocationName()
491 for (String mzID : mzIDs) { in loadStrings()
495 String goldenID = _tznames.getReferenceZoneID(mzID, getTargetRegion()); in loadStrings()
498 String mzGenName = _tznames.getMetaZoneDisplayName(mzID, genNonLocType); in loadStrings()
501 … getPartialLocationName(tzCanonicalID, mzID, (genNonLocType == NameType.LONG_GENERIC), mzGenName); in loadStrings()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTZDBTimeZoneNames.java92 public String getReferenceZoneID(String mzID, String region) { in getReferenceZoneID() argument
93 return TimeZoneNamesImpl._getReferenceZoneID(mzID, region); in getReferenceZoneID()
101 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName() argument
102 if (mzID == null || mzID.length() == 0 || in getMetaZoneDisplayName()
106 return getMetaZoneNames(mzID).getName(type); in getMetaZoneDisplayName()
223 final String mzID; field in TZDBTimeZoneNames.TZDBNameInfo
228 TZDBNameInfo(String mzID, NameType type, boolean ambiguousType, String[] parseRegions) { in TZDBNameInfo() argument
229 this.mzID = mzID; in TZDBNameInfo()
319 MatchInfo minfo = new MatchInfo(ntype, null, match.mzID, matchLength); in handlePrefixMatch()
341 private static TZDBNames getMetaZoneNames(String mzID) { in getMetaZoneNames() argument
[all …]
DTimeZoneNamesImpl.java110 mzIDs.add(map.mzID()); in _getAvailableMetaZoneIDs()
128 String mzID = null; in _getMetaZoneID() local
132 mzID = map.mzID(); in _getMetaZoneID()
136 return mzID; in _getMetaZoneID()
143 public String getReferenceZoneID(String mzID, String region) { in getReferenceZoneID() argument
144 return _getReferenceZoneID(mzID, region); in getReferenceZoneID()
147 static String _getReferenceZoneID(String mzID, String region) { in _getReferenceZoneID() argument
148 if (mzID == null || mzID.length() == 0) { in _getReferenceZoneID()
152 Map<String, String> regionTzMap = MZ_TO_TZS_CACHE.getInstance(mzID, mzID); in _getReferenceZoneID()
167 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName() argument
[all …]
DTimeZoneGenericNames.java345 String mzID = _tznames.getMetaZoneID(tzID, date); in formatGenericNonLocationName() local
346 if (mzID != null) { in formatGenericNonLocationName()
396 String mzGenericName = _tznames.getMetaZoneDisplayName(mzID, nameType); in formatGenericNonLocationName()
405 String mzName = _tznames.getMetaZoneDisplayName(mzID, nameType); in formatGenericNonLocationName()
410 String goldenID = _tznames.getReferenceZoneID(mzID, getTargetRegion()); in formatGenericNonLocationName()
423 … name = getPartialLocationName(tzID, mzID, (nameType == NameType.LONG_GENERIC), mzName); in formatGenericNonLocationName()
495 for (String mzID : mzIDs) { in loadStrings()
499 String goldenID = _tznames.getReferenceZoneID(mzID, getTargetRegion()); in loadStrings()
502 String mzGenName = _tznames.getMetaZoneDisplayName(mzID, genNonLocType); in loadStrings()
505 … getPartialLocationName(tzCanonicalID, mzID, (genNonLocType == NameType.LONG_GENERIC), mzGenName); in loadStrings()
[all …]
/external/icu/icu4c/source/i18n/
Dtznames.cpp113 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const;
114 …UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tz…
116 …UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, UnicodeSt…
262 TimeZoneNamesDelegate::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) co… in getMetaZoneID()
263 return fTZnamesCacheEntry->names->getMetaZoneID(tzID, date, mzID); in getMetaZoneID()
267 TimeZoneNamesDelegate::getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeStr… in getReferenceZoneID() argument
268 return fTZnamesCacheEntry->names->getReferenceZoneID(mzID, region, tzID); in getReferenceZoneID()
272 TimeZoneNamesDelegate::getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, Un… in getMetaZoneDisplayName() argument
273 return fTZnamesCacheEntry->names->getMetaZoneDisplayName(mzID, type, name); in getMetaZoneDisplayName()
341 UnicodeString mzID(mzIDBuf, 0, UPRV_LENGTHOF(mzIDBuf)); in getDisplayName() local
[all …]
Dtznames_impl.cpp99 const UChar* mzID; member
111 static void mergeTimeZoneKey(const UnicodeString& mzID, char* result);
629 const UnicodeString& mzID, UErrorCode& status) { in createMetaZoneAndPutInCache() argument
636 void* key = (void*) ZoneMeta::findMetaZoneID(mzID); in createMetaZoneAndPutInCache()
693 void addAsMetaZoneIntoTrie(const UChar* mzID, TextTrieMap& trie, UErrorCode& status) { in addAsMetaZoneIntoTrie() argument
694 addNamesIntoTrie(mzID, NULL, trie, status); in addAsMetaZoneIntoTrie()
700 void addNamesIntoTrie(const UChar* mzID, const UChar* tzID, TextTrieMap& trie, in addNamesIntoTrie() argument
714 nameinfo->mzID = mzID; in addNamesIntoTrie()
742 …void loadMetaZone(const UResourceBundle* zoneStrings, const UnicodeString& mzID, UErrorCode& error… in loadMetaZone()
746 mergeTimeZoneKey(mzID, key); in loadMetaZone()
[all …]
Dtzgnames.cpp59 const UChar* mzID; member
72 .append(p->mzID, -1) in hashPartialLocationKey()
93 return (p1->tzID == p2->tzID && p1->mzID == p2->mzID && p1->isLong == p2->isLong); in comparePartialLocationKey()
315 const UnicodeString& mzID, UBool isLong, const UnicodeString& mzDisplayName,
319 … const UnicodeString& mzID, UBool isLong, const UnicodeString& mzDisplayName);
612 UnicodeString mzID(mzIDBuf, 0, UPRV_LENGTHOF(mzIDBuf)); in formatGenericNonLocationName() local
613 fTimeZoneNames->getMetaZoneID(tzID, date, mzID); in formatGenericNonLocationName()
614 if (!mzID.isEmpty()) { in formatGenericNonLocationName()
688 fTimeZoneNames->getMetaZoneDisplayName(mzID, nameType, mzGenericName); in formatGenericNonLocationName()
697 fTimeZoneNames->getMetaZoneDisplayName(mzID, nameType, mzName); in formatGenericNonLocationName()
[all …]
Dtznames_impl.h182 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const;
183 …UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tz…
185 …UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, UnicodeSt…
199 … static UnicodeString& _getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID);
200 …static UnicodeString& _getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeSt…
244 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const;
245 …UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tz…
247 …UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, UnicodeSt…
Dzonemeta.cpp794 const char *mzID = ures_getKey(&res); in initAvailableMetaZoneIDs() local
795 int32_t len = static_cast<int32_t>(uprv_strlen(mzID)); in initAvailableMetaZoneIDs()
801 u_charsToUChars(mzID, uMzID, len); in initAvailableMetaZoneIDs()
Dtzfmt.cpp2713 UnicodeString mzID(mzIDBuf, 0, UPRV_LENGTHOF(mzIDBuf)); in getTimeZoneID() local
2714 if (matches->getMetaZoneIDAt(idx, mzID)) { in getTimeZoneID()
2715 fTimeZoneNames->getReferenceZoneID(mzID, fTargetRegion, tzID); in getTimeZoneID()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneNames.java253 public abstract String getReferenceZoneID(String mzID, String region); in getReferenceZoneID() argument
267 public abstract String getMetaZoneDisplayName(String mzID, NameType type); in getMetaZoneDisplayName() argument
290 String mzID = getMetaZoneID(tzID, date); in getDisplayName() local
291 name = getMetaZoneDisplayName(mzID, type); in getDisplayName()
376 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo() argument
380 if (tzID == null && mzID == null) { in MatchInfo()
388 _mzID = mzID; in MatchInfo()
418 public String mzID() { in mzID() method in TimeZoneNames.MatchInfo
461 String mzID = null; in getDisplayNames() local
466 if (mzID == null) { in getDisplayNames()
[all …]
DTimeZoneFormat.java1213 … return TimeZone.getTimeZone(getTimeZoneID(specificMatch.tzID(), specificMatch.mzID())); in parse()
1234 … return TimeZone.getTimeZone(getTimeZoneID(tzdbNameMatch.tzID(), tzdbNameMatch.mzID())); in parse()
1428 parsedID = getTimeZoneID(specificMatch.tzID(), specificMatch.mzID()); in parse()
1447 parsedID = getTimeZoneID(tzdbNameMatch.tzID(), tzdbNameMatch.mzID()); in parse()
1829 private String getTimeZoneID(String tzID, String mzID) {
1832 assert (mzID != null);
1833 id = _tznames.getReferenceZoneID(mzID, getTargetRegion());
1835 throw new IllegalArgumentException("Invalid mzID: " + mzID);
3111 tzID = getTimeZoneID(exemplarMatch.tzID(), exemplarMatch.mzID());
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneNames.java228 public abstract String getReferenceZoneID(String mzID, String region); in getReferenceZoneID() argument
241 public abstract String getMetaZoneDisplayName(String mzID, NameType type); in getMetaZoneDisplayName() argument
263 String mzID = getMetaZoneID(tzID, date); in getDisplayName() local
264 name = getMetaZoneDisplayName(mzID, type); in getDisplayName()
345 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo() argument
349 if (tzID == null && mzID == null) { in MatchInfo()
357 _mzID = mzID; in MatchInfo()
385 public String mzID() { in mzID() method in TimeZoneNames.MatchInfo
428 String mzID = null; in getDisplayNames() local
433 if (mzID == null) { in getDisplayNames()
[all …]
DTimeZoneFormat.java1152 … return TimeZone.getTimeZone(getTimeZoneID(specificMatch.tzID(), specificMatch.mzID())); in parse()
1173 … return TimeZone.getTimeZone(getTimeZoneID(tzdbNameMatch.tzID(), tzdbNameMatch.mzID())); in parse()
1367 parsedID = getTimeZoneID(specificMatch.tzID(), specificMatch.mzID()); in parse()
1386 parsedID = getTimeZoneID(tzdbNameMatch.tzID(), tzdbNameMatch.mzID()); in parse()
1759 private String getTimeZoneID(String tzID, String mzID) {
1762 assert (mzID != null);
1763 id = _tznames.getReferenceZoneID(mzID, getTargetRegion());
1765 throw new IllegalArgumentException("Invalid mzID: " + mzID);
3041 tzID = getTimeZoneID(exemplarMatch.tzID(), exemplarMatch.mzID());
/external/icu/icu4c/source/i18n/unicode/
Dtznames.h211 …virtual UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) c…
229 …virtual UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeSt…
241 …virtual UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, U…
342 const UnicodeString& mzID, UErrorCode& status);
386 UBool getMetaZoneIDAt(int32_t idx, UnicodeString& mzID) const;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatHandler.java2342 final String mzID = "America_Pacific"; in hasSameBehavior() local
2345 String refza = tzna.getReferenceZoneID(mzID, region); in hasSameBehavior()
2346 String refzb = tznb.getReferenceZoneID(mzID, region); in hasSameBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatHandler.java2339 final String mzID = "America_Pacific"; in hasSameBehavior() local
2342 String refza = tzna.getReferenceZoneID(mzID, region); in hasSameBehavior()
2343 String refzb = tznb.getReferenceZoneID(mzID, region); in hasSameBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java1210 public String getReferenceZoneID(String mzID, String region) { in getReferenceZoneID() argument
1215 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName() argument
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java1213 public String getReferenceZoneID(String mzID, String region) { in getReferenceZoneID() argument
1218 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName() argument
/external/icu/icu4j/tools/build/
Dicu4j55.api3.gz
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j57.api3.gz
Dicu4j54.api3.gz

12