Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTZDBTimeZoneNames.java88 public String getReferenceZoneID(String mzID, String region) { in getReferenceZoneID() argument
89 return TimeZoneNamesImpl._getReferenceZoneID(mzID, region); in getReferenceZoneID()
97 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName() argument
98 if (mzID == null || mzID.length() == 0 || in getMetaZoneDisplayName()
102 return getMetaZoneNames(mzID).getName(type); in getMetaZoneDisplayName()
215 String mzID; field in TZDBTimeZoneNames.TZDBNameInfo
303 MatchInfo minfo = new MatchInfo(ntype, null, match.mzID, matchLength); in handlePrefixMatch()
325 private static TZDBNames getMetaZoneNames(String mzID) { in getMetaZoneNames() argument
326 TZDBNames names = TZDB_NAMES_MAP.get(mzID); in getMetaZoneNames()
328 names = TZDBNames.getInstance(ZONESTRINGS, "meta:" + mzID); in getMetaZoneNames()
[all …]
DTimeZoneNamesImpl.java107 mzIDs.add(map.mzID()); in _getAvailableMetaZoneIDs()
125 String mzID = null; in _getMetaZoneID() local
129 mzID = map.mzID(); in _getMetaZoneID()
133 return mzID; in _getMetaZoneID()
140 public String getReferenceZoneID(String mzID, String region) { in getReferenceZoneID() argument
141 return _getReferenceZoneID(mzID, region); in getReferenceZoneID()
144 static String _getReferenceZoneID(String mzID, String region) { in _getReferenceZoneID() argument
145 if (mzID == null || mzID.length() == 0) { in _getReferenceZoneID()
149 Map<String, String> regionTzMap = MZ_TO_TZS_CACHE.getInstance(mzID, mzID); in _getReferenceZoneID()
164 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.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()
217 String mzID; field in TZDBTimeZoneNames.TZDBNameInfo
305 MatchInfo minfo = new MatchInfo(ntype, null, match.mzID, matchLength); in handlePrefixMatch()
327 private static TZDBNames getMetaZoneNames(String mzID) { in getMetaZoneNames() argument
328 TZDBNames names = TZDB_NAMES_MAP.get(mzID); in getMetaZoneNames()
330 names = TZDBNames.getInstance(ZONESTRINGS, "meta:" + mzID); in getMetaZoneNames()
[all …]
DTimeZoneNamesImpl.java109 mzIDs.add(map.mzID()); in _getAvailableMetaZoneIDs()
127 String mzID = null; in _getMetaZoneID() local
131 mzID = map.mzID(); in _getMetaZoneID()
135 return mzID; in _getMetaZoneID()
142 public String getReferenceZoneID(String mzID, String region) { in getReferenceZoneID() argument
143 return _getReferenceZoneID(mzID, region); in getReferenceZoneID()
146 static String _getReferenceZoneID(String mzID, String region) { in _getReferenceZoneID() argument
147 if (mzID == null || mzID.length() == 0) { in _getReferenceZoneID()
151 Map<String, String> regionTzMap = MZ_TO_TZS_CACHE.getInstance(mzID, mzID); in _getReferenceZoneID()
166 public String getMetaZoneDisplayName(String mzID, NameType type) { in getMetaZoneDisplayName() argument
[all …]
DTimeZoneGenericNames.java343 String mzID = _tznames.getMetaZoneID(tzID, date); in formatGenericNonLocationName() local
344 if (mzID != null) { in formatGenericNonLocationName()
394 String mzGenericName = _tznames.getMetaZoneDisplayName(mzID, nameType); in formatGenericNonLocationName()
403 String mzName = _tznames.getMetaZoneDisplayName(mzID, nameType); in formatGenericNonLocationName()
408 String goldenID = _tznames.getReferenceZoneID(mzID, getTargetRegion()); in formatGenericNonLocationName()
421 … name = getPartialLocationName(tzID, mzID, (nameType == NameType.LONG_GENERIC), mzName); in formatGenericNonLocationName()
493 for (String mzID : mzIDs) { in loadStrings()
497 String goldenID = _tznames.getReferenceZoneID(mzID, getTargetRegion()); in loadStrings()
500 String mzGenName = _tznames.getMetaZoneDisplayName(mzID, genNonLocType); in loadStrings()
503 … getPartialLocationName(tzCanonicalID, mzID, (genNonLocType == NameType.LONG_GENERIC), mzGenName); in loadStrings()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneNames.java226 public abstract String getReferenceZoneID(String mzID, String region); in getReferenceZoneID() argument
239 public abstract String getMetaZoneDisplayName(String mzID, NameType type); in getMetaZoneDisplayName() argument
261 String mzID = getMetaZoneID(tzID, date); in getDisplayName() local
262 name = getMetaZoneDisplayName(mzID, type); in getDisplayName()
342 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo() argument
346 if (tzID == null && mzID == null) { in MatchInfo()
354 _mzID = mzID; in MatchInfo()
382 public String mzID() { in mzID() method in TimeZoneNames.MatchInfo
425 String mzID = null; in getDisplayNames() local
430 if (mzID == null) { in getDisplayNames()
[all …]
DTimeZoneFormat.java1148 … return TimeZone.getTimeZone(getTimeZoneID(specificMatch.tzID(), specificMatch.mzID())); in parse()
1169 … return TimeZone.getTimeZone(getTimeZoneID(tzdbNameMatch.tzID(), tzdbNameMatch.mzID())); in parse()
1363 parsedID = getTimeZoneID(specificMatch.tzID(), specificMatch.mzID()); in parse()
1382 parsedID = getTimeZoneID(tzdbNameMatch.tzID(), tzdbNameMatch.mzID()); in parse()
1755 private String getTimeZoneID(String tzID, String mzID) {
1758 assert (mzID != null);
1759 id = _tznames.getReferenceZoneID(mzID, getTargetRegion());
1761 throw new IllegalArgumentException("Invalid mzID: " + mzID);
3018 tzID = getTimeZoneID(exemplarMatch.tzID(), exemplarMatch.mzID());
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneNames.java251 public abstract String getReferenceZoneID(String mzID, String region); in getReferenceZoneID() argument
265 public abstract String getMetaZoneDisplayName(String mzID, NameType type); in getMetaZoneDisplayName() argument
288 String mzID = getMetaZoneID(tzID, date); in getDisplayName() local
289 name = getMetaZoneDisplayName(mzID, type); in getDisplayName()
374 public MatchInfo(NameType nameType, String tzID, String mzID, int matchLength) { in MatchInfo() argument
378 if (tzID == null && mzID == null) { in MatchInfo()
386 _mzID = mzID; in MatchInfo()
416 public String mzID() { in mzID() method in TimeZoneNames.MatchInfo
459 String mzID = null; in getDisplayNames() local
464 if (mzID == null) { in getDisplayNames()
[all …]
DTimeZoneFormat.java1209 … return TimeZone.getTimeZone(getTimeZoneID(specificMatch.tzID(), specificMatch.mzID())); in parse()
1230 … return TimeZone.getTimeZone(getTimeZoneID(tzdbNameMatch.tzID(), tzdbNameMatch.mzID())); in parse()
1424 parsedID = getTimeZoneID(specificMatch.tzID(), specificMatch.mzID()); in parse()
1443 parsedID = getTimeZoneID(tzdbNameMatch.tzID(), tzdbNameMatch.mzID()); in parse()
1825 private String getTimeZoneID(String tzID, String mzID) {
1828 assert (mzID != null);
1829 id = _tznames.getReferenceZoneID(mzID, getTargetRegion());
1831 throw new IllegalArgumentException("Invalid mzID: " + mzID);
3088 tzID = getTimeZoneID(exemplarMatch.tzID(), exemplarMatch.mzID());
/external/icu/icu4c/source/i18n/
Dtznames.cpp111 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const;
112 …UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tz…
114 …UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, UnicodeSt…
257 TimeZoneNamesDelegate::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) co… in getMetaZoneID()
258 return fTZnamesCacheEntry->names->getMetaZoneID(tzID, date, mzID); in getMetaZoneID()
262 TimeZoneNamesDelegate::getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeStr… in getReferenceZoneID() argument
263 return fTZnamesCacheEntry->names->getReferenceZoneID(mzID, region, tzID); in getReferenceZoneID()
267 TimeZoneNamesDelegate::getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, Un… in getMetaZoneDisplayName() argument
268 return fTZnamesCacheEntry->names->getMetaZoneDisplayName(mzID, type, name); in getMetaZoneDisplayName()
326 UnicodeString mzID(mzIDBuf, 0, UPRV_LENGTHOF(mzIDBuf)); in getDisplayName() local
[all …]
Dtznames_impl.cpp782 const UChar* mzID; member
847 U_ASSERT(nameinfo->mzID); in handleMatch()
848 … fResults->addMetaZone(nameinfo->type, matchLength, UnicodeString(nameinfo->mzID, -1), status); in handleMatch()
971 const UnicodeString *mzID; in loadStrings() local
972 while ((mzID = mzIDs->snext(status))) { in loadStrings()
976 loadMetaZoneNames(*mzID); in loadStrings()
1061 const UChar *mzID = map->mzid; in _getAvailableMetaZoneIDs() local
1062 if (!mzIDs->contains((void *)mzID)) { in _getAvailableMetaZoneIDs()
1063 mzIDs->addElement((void *)mzID, status); in _getAvailableMetaZoneIDs()
1076 TimeZoneNamesImpl::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { in getMetaZoneID()
[all …]
Dtzgnames.cpp56 const UChar* mzID; member
69 .append(p->mzID, -1) in hashPartialLocationKey()
90 return (p1->tzID == p2->tzID && p1->mzID == p2->mzID && p1->isLong == p2->isLong); in comparePartialLocationKey()
312 const UnicodeString& mzID, UBool isLong, const UnicodeString& mzDisplayName,
316 … const UnicodeString& mzID, UBool isLong, const UnicodeString& mzDisplayName);
635 UnicodeString mzID(mzIDBuf, 0, UPRV_LENGTHOF(mzIDBuf)); in formatGenericNonLocationName() local
636 fTimeZoneNames->getMetaZoneID(tzID, date, mzID); in formatGenericNonLocationName()
637 if (!mzID.isEmpty()) { in formatGenericNonLocationName()
711 fTimeZoneNames->getMetaZoneDisplayName(mzID, nameType, mzGenericName); in formatGenericNonLocationName()
720 fTimeZoneNames->getMetaZoneDisplayName(mzID, nameType, mzName); in formatGenericNonLocationName()
[all …]
Dtznames_impl.h177 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const;
178 …UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tz…
180 …UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, UnicodeSt…
191 … static UnicodeString& _getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID);
192 …static UnicodeString& _getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeSt…
228 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const;
229 …UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeString& tz…
231 …UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, UnicodeSt…
Dzonemeta.cpp785 const char *mzID = ures_getKey(&res); in initAvailableMetaZoneIDs() local
786 int32_t len = uprv_strlen(mzID); in initAvailableMetaZoneIDs()
792 u_charsToUChars(mzID, uMzID, len); in initAvailableMetaZoneIDs()
Dtzfmt.cpp2684 UnicodeString mzID(mzIDBuf, 0, UPRV_LENGTHOF(mzIDBuf)); in getTimeZoneID() local
2685 if (matches->getMetaZoneIDAt(idx, mzID)) { in getTimeZoneID()
2686 fTimeZoneNames->getReferenceZoneID(mzID, fTargetRegion, tzID); in getTimeZoneID()
/external/icu/icu4c/source/i18n/unicode/
Dtznames.h209 …virtual UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) c…
227 …virtual UnicodeString& getReferenceZoneID(const UnicodeString& mzID, const char* region, UnicodeSt…
239 …virtual UnicodeString& getMetaZoneDisplayName(const UnicodeString& mzID, UTimeZoneNameType type, U…
330 const UnicodeString& mzID, UErrorCode& status);
374 UBool getMetaZoneIDAt(int32_t idx, UnicodeString& mzID) const;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatTests.java2250 final String mzID = "America_Pacific"; in hasSameBehavior() local
2253 String refza = tzna.getReferenceZoneID(mzID, region); in hasSameBehavior()
2254 String refzb = tznb.getReferenceZoneID(mzID, region); in hasSameBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatTests.java2249 final String mzID = "America_Pacific"; in hasSameBehavior() local
2252 String refza = tzna.getReferenceZoneID(mzID, region); in hasSameBehavior()
2253 String refzb = tznb.getReferenceZoneID(mzID, region); in hasSameBehavior()
/external/icu/icu4j/tools/build/
Dicu4j48.api3.gz
Dicu4j49.api3.gz12;ICU4J 49.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j52.api3.gz
Dicu4j51.api3.gz12;ICU4J 51.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j50.api3.gz12;ICU4J 50.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j55.api3.gz

12