Home
last modified time | relevance | path

Searched refs:tzids (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java123 String[] tzids; in TestTimeZoneRoundTrip() local
125 tzids = java.util.TimeZone.getAvailableIDs(); in TestTimeZoneRoundTrip()
127 tzids = TimeZone.getAvailableIDs(); in TestTimeZoneRoundTrip()
142 for (int tzidx = 0; tzidx < tzids.length; tzidx++) { in TestTimeZoneRoundTrip()
143 if (EXCL_TZ_PATTERN.matcher(tzids[tzidx]).matches()) { in TestTimeZoneRoundTrip()
146 TimeZone tz = TimeZone.getTimeZone(tzids[tzidx]); in TestTimeZoneRoundTrip()
174 String canonicalID = TimeZone.getCanonicalID(tzids[tzidx]); in TestTimeZoneRoundTrip()
180 … logln("Canonical round trip failed (probably as expected); tz=" + tzids[tzidx] in TestTimeZoneRoundTrip()
186 errln("Canonical round trip failed; tz=" + tzids[tzidx] in TestTimeZoneRoundTrip()
194 if (!outtz.getID().equals(tzids[tzidx])) { in TestTimeZoneRoundTrip()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java437 String[] tzids = getTestZIDs(); in TestVTimeZoneRoundTrip() local
438 for (int i = 0; i < tzids.length; i++) { in TestVTimeZoneRoundTrip()
439 … BasicTimeZone olsontz = (BasicTimeZone)TimeZone.getTimeZone(tzids[i], TimeZone.TIMEZONE_ICU); in TestVTimeZoneRoundTrip()
440 VTimeZone vtz_org = VTimeZone.create(tzids[i]); in TestVTimeZoneRoundTrip()
482 errln("FAIL: VTimeZone for " + tzids[i] in TestVTimeZoneRoundTrip()
490 …errln("FAIL: VTimeZone for " + tzids[i] + " is not equivalent to its OlsonTimeZone corresponding."… in TestVTimeZoneRoundTrip()
492 …logln("VTimeZone for " + tzids[i] + " differs from its OlsonTimeZone corresponding with maximum tr… in TestVTimeZoneRoundTrip()
496 …logln("VTimeZone for " + tzids[i] + " is not equivalent to its OlsonTimeZone corresponding in stri… in TestVTimeZoneRoundTrip()
514 String[] tzids = getTestZIDs(); in TestVTimeZoneRoundTripPartial() local
517 for (int i = 0; i < tzids.length; i++) { in TestVTimeZoneRoundTripPartial()
[all …]
DTimeZoneRegression.java1068 String[] tzids = TimeZone.getAvailableIDs(); in TestT5280() local
1069 for (int i = 0; i < tzids.length; i++) { in TestT5280()
1070 TimeZone tz = TimeZone.getTimeZone(tzids[i]); in TestT5280()
DTimeZoneTest.java2137 String[] tzids = TimeZone.getAvailableIDs(); in TestObservesDaylightTime() local
2138 for (String tzid : tzids) { in TestObservesDaylightTime()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h143 StringEnumeration *tzids = TimeZone::createEnumeration(); in call() local
160 tzids->reset(*status); in call()
162 while ((tzid = tzids->snext(*status))) { in call()
203 delete tzids; in call() local
/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp149 StringEnumeration *tzids = TimeZone::createEnumeration(); in TestTimeZoneRoundTrip() local
174 tzids->reset(status); in TestTimeZoneRoundTrip()
176 while ((tzid = tzids->snext(status))) { in TestTimeZoneRoundTrip()
335 delete tzids; in TestTimeZoneRoundTrip()
411 …StringEnumeration *tzids = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_CANONICAL, NULL, N… in run() local
471 tzids->reset(status); in run()
476 while ((tzid = tzids->snext(status))) { in run()
600 delete tzids; in run()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTimeZoneNameTest.java42 String[] tzids = TimeZone.getAvailableIDs(); in TestTimeZoneNames() local
50 for (String tzid : tzids) { in TestTimeZoneNames()
/external/icu/icu4c/source/i18n/
Dtimezone.cpp1599 const UChar *tzids = ures_getString(regionalData, &len, &status); in getWindowsID() local
1604 const UChar *start = tzids; in getWindowsID()
1609 end = tzids + len; in getWindowsID()
1665 … const UChar *tzids = ures_getStringByKey(zones, region, &len, &tmperr); // use tmperr, because in getIDForWindowsID() local
1669 const UChar *end = u_strchr(tzids, (UChar)0x20); in getIDForWindowsID()
1671 id.setTo(tzids, -1); in getIDForWindowsID()
1673 id.setTo(tzids, end - tzids); in getIDForWindowsID()
Ddtfmtsym.cpp1226 StringEnumeration *tzids = NULL; in initZoneStringsArray() local
1233 tzids = TimeZone::createTimeZoneIDEnumeration(ZONE_SET, NULL, NULL, status); in initZoneStringsArray()
1234 rows = tzids->count(status); in initZoneStringsArray()
1255 while ((tzid = tzids->snext(status))) { in initZoneStringsArray()
1290 if (tzids) { in initZoneStringsArray()
1291 delete tzids; in initZoneStringsArray()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZone.java1171 String[] tzids = regionalData.getString().split(" "); in getWindowsID() local
1172 for (String tzid : tzids) { in getWindowsID()