/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/ |
D | ICUZDump.java | 285 String[] tzids = null; in main() local 289 tzids = java.util.TimeZone.getAvailableIDs(); in main() 291 tzids = com.ibm.icu.util.TimeZone.getAvailableIDs(); in main() 296 for (int i = 0; i < tzids.length; i++) { in main() 297 set.add(tzids[i]); in main() 302 tzids[i++] = (String)it.next(); in main() 307 tzids = new String[1]; in main() 308 tzids[0] = java.util.TimeZone.getDefault().getID(); in main() 310 tzids = new String[idlist.size()]; in main() 311 idlist.toArray(tzids); in main() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 449 String[] tzids = getTestZIDs(); in TestVTimeZoneRoundTrip() local 450 for (int i = 0; i < tzids.length; i++) { in TestVTimeZoneRoundTrip() 451 … BasicTimeZone olsontz = (BasicTimeZone)TimeZone.getTimeZone(tzids[i], TimeZone.TIMEZONE_ICU); in TestVTimeZoneRoundTrip() 452 VTimeZone vtz_org = VTimeZone.create(tzids[i]); in TestVTimeZoneRoundTrip() 494 errln("FAIL: VTimeZone for " + tzids[i] in TestVTimeZoneRoundTrip() 502 …errln("FAIL: VTimeZone for " + tzids[i] + " is not equivalent to its OlsonTimeZone corresponding."… in TestVTimeZoneRoundTrip() 504 …logln("VTimeZone for " + tzids[i] + " differs from its OlsonTimeZone corresponding with maximum tr… in TestVTimeZoneRoundTrip() 508 …logln("VTimeZone for " + tzids[i] + " is not equivalent to its OlsonTimeZone corresponding in stri… in TestVTimeZoneRoundTrip() 527 String[] tzids = getTestZIDs(); in TestVTimeZoneRoundTripPartial() local 530 for (int i = 0; i < tzids.length; i++) { in TestVTimeZoneRoundTripPartial() [all …]
|
D | TimeZoneRegressionTest.java | 1095 String[] tzids = TimeZone.getAvailableIDs(); in TestT5280() local 1096 for (int i = 0; i < tzids.length; i++) { in TestT5280() 1097 TimeZone tz = TimeZone.getTimeZone(tzids[i]); in TestT5280()
|
D | TimeZoneTest.java | 2182 String[] tzids = TimeZone.getAvailableIDs(); in TestObservesDaylightTime() local 2183 for (String tzid : tzids) { in TestObservesDaylightTime()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 446 String[] tzids = getTestZIDs(); in TestVTimeZoneRoundTrip() local 447 for (int i = 0; i < tzids.length; i++) { in TestVTimeZoneRoundTrip() 448 … BasicTimeZone olsontz = (BasicTimeZone)TimeZone.getTimeZone(tzids[i], TimeZone.TIMEZONE_ICU); in TestVTimeZoneRoundTrip() 449 VTimeZone vtz_org = VTimeZone.create(tzids[i]); in TestVTimeZoneRoundTrip() 491 errln("FAIL: VTimeZone for " + tzids[i] in TestVTimeZoneRoundTrip() 499 …errln("FAIL: VTimeZone for " + tzids[i] + " is not equivalent to its OlsonTimeZone corresponding."… in TestVTimeZoneRoundTrip() 501 …logln("VTimeZone for " + tzids[i] + " differs from its OlsonTimeZone corresponding with maximum tr… in TestVTimeZoneRoundTrip() 505 …logln("VTimeZone for " + tzids[i] + " is not equivalent to its OlsonTimeZone corresponding in stri… in TestVTimeZoneRoundTrip() 524 String[] tzids = getTestZIDs(); in TestVTimeZoneRoundTripPartial() local 527 for (int i = 0; i < tzids.length; i++) { in TestVTimeZoneRoundTripPartial() [all …]
|
D | TimeZoneRegressionTest.java | 1092 String[] tzids = TimeZone.getAvailableIDs(); in TestT5280() local 1093 for (int i = 0; i < tzids.length; i++) { in TestT5280() 1094 TimeZone tz = TimeZone.getTimeZone(tzids[i]); in TestT5280()
|
D | TimeZoneTest.java | 2179 String[] tzids = TimeZone.getAvailableIDs(); in TestObservesDaylightTime() local 2180 for (String tzid : tzids) { in TestObservesDaylightTime()
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | dtfmtrtperf.h | 146 StringEnumeration *tzids = TimeZone::createEnumeration(); in call() local 163 tzids->reset(*status); in call() 165 while ((tzid = tzids->snext(*status))) { in call() 206 delete tzids; in call() local
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 135 String[] tzids; in TestTimeZoneRoundTrip() local 137 tzids = java.util.TimeZone.getAvailableIDs(); in TestTimeZoneRoundTrip() 139 tzids = TimeZone.getAvailableIDs(); in TestTimeZoneRoundTrip() 154 for (int tzidx = 0; tzidx < tzids.length; tzidx++) { in TestTimeZoneRoundTrip() 155 if (EXCL_TZ_PATTERN.matcher(tzids[tzidx]).matches()) { in TestTimeZoneRoundTrip() 158 TimeZone tz = TimeZone.getTimeZone(tzids[tzidx]); in TestTimeZoneRoundTrip() 186 String canonicalID = TimeZone.getCanonicalID(tzids[tzidx]); in TestTimeZoneRoundTrip() 192 … logln("Canonical round trip failed (probably as expected); tz=" + tzids[tzidx] in TestTimeZoneRoundTrip() 198 errln("Canonical round trip failed; tz=" + tzids[tzidx] in TestTimeZoneRoundTrip() 206 if (!outtz.getID().equals(tzids[tzidx])) { in TestTimeZoneRoundTrip() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 138 String[] tzids; in TestTimeZoneRoundTrip() local 140 tzids = java.util.TimeZone.getAvailableIDs(); in TestTimeZoneRoundTrip() 142 tzids = TimeZone.getAvailableIDs(); in TestTimeZoneRoundTrip() 157 for (int tzidx = 0; tzidx < tzids.length; tzidx++) { in TestTimeZoneRoundTrip() 158 if (EXCL_TZ_PATTERN.matcher(tzids[tzidx]).matches()) { in TestTimeZoneRoundTrip() 161 TimeZone tz = TimeZone.getTimeZone(tzids[tzidx]); in TestTimeZoneRoundTrip() 189 String canonicalID = TimeZone.getCanonicalID(tzids[tzidx]); in TestTimeZoneRoundTrip() 195 … logln("Canonical round trip failed (probably as expected); tz=" + tzids[tzidx] in TestTimeZoneRoundTrip() 201 errln("Canonical round trip failed; tz=" + tzids[tzidx] in TestTimeZoneRoundTrip() 209 if (!outtz.getID().equals(tzids[tzidx])) { in TestTimeZoneRoundTrip() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tzfmttst.cpp | 159 StringEnumeration *tzids = TimeZone::createEnumeration(); in TestTimeZoneRoundTrip() local 183 tzids->reset(status); in TestTimeZoneRoundTrip() 185 while ((tzid = tzids->snext(status))) { in TestTimeZoneRoundTrip() 347 delete tzids; in TestTimeZoneRoundTrip() 549 …StringEnumeration *tzids = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_CANONICAL, NULL, N… in RunTimeRoundTripTests() local 580 tzids->reset(status); in RunTimeRoundTripTests() 585 while ((tzid = tzids->snext(status))) { in RunTimeRoundTripTests() 711 delete tzids; in RunTimeRoundTripTests() 1264 LocalPointer<StringEnumeration> tzids(TimeZone::createEnumeration()); in TestFormatTZDBNamesAllZoneCoverage() local 1265 if (tzids.getAlias() == nullptr) { in TestFormatTZDBNamesAllZoneCoverage() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | timezone.cpp | 1603 const UChar *tzids = ures_getString(regionalData, &len, &status); in getWindowsID() local 1608 const UChar *start = tzids; in getWindowsID() 1613 end = tzids + len; in getWindowsID() 1669 … const UChar *tzids = ures_getStringByKey(zones, region, &len, &tmperr); // use tmperr, because in getIDForWindowsID() local 1673 const UChar *end = u_strchr(tzids, (UChar)0x20); in getIDForWindowsID() 1675 id.setTo(tzids, -1); in getIDForWindowsID() 1677 id.setTo(tzids, end - tzids); in getIDForWindowsID()
|
D | dtfmtsym.cpp | 1277 StringEnumeration *tzids = NULL; in initZoneStringsArray() local 1290 tzids = TimeZone::createTimeZoneIDEnumeration(ZONE_SET, NULL, NULL, status); in initZoneStringsArray() 1291 rows = tzids->count(status); in initZoneStringsArray() 1314 while ((tzid = tzids->snext(status))) { in initZoneStringsArray() 1347 if (tzids) { in initZoneStringsArray() 1348 delete tzids; in initZoneStringsArray()
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | TimeZoneNameTest.java | 47 String[] tzids = TimeZone.getAvailableIDs(); in TestTimeZoneNames() local 55 for (String tzid : tzids) { in TestTimeZoneNames()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeZone.java | 1211 String[] tzids = regionalData.getString().split(" "); in getWindowsID() local 1212 for (String tzid : tzids) { in getWindowsID()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeZone.java | 1118 String[] tzids = regionalData.getString().split(" "); in getWindowsID() local 1119 for (String tzid : tzids) { in getWindowsID()
|