/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/ |
D | ICUZDump.java | 283 String[] tzids = null; in main() local 287 tzids = java.util.TimeZone.getAvailableIDs(); in main() 289 tzids = com.ibm.icu.util.TimeZone.getAvailableIDs(); in main() 294 for (int i = 0; i < tzids.length; i++) { in main() 295 set.add(tzids[i]); in main() 300 tzids[i++] = (String)it.next(); in main() 305 tzids = new String[1]; in main() 306 tzids[0] = java.util.TimeZone.getDefault().getID(); in main() 308 tzids = new String[idlist.size()]; in main() 309 idlist.toArray(tzids); in main() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 126 String[] tzids; in TestTimeZoneRoundTrip() local 128 tzids = java.util.TimeZone.getAvailableIDs(); in TestTimeZoneRoundTrip() 130 tzids = TimeZone.getAvailableIDs(); in TestTimeZoneRoundTrip() 145 for (int tzidx = 0; tzidx < tzids.length; tzidx++) { in TestTimeZoneRoundTrip() 146 if (EXCL_TZ_PATTERN.matcher(tzids[tzidx]).matches()) { in TestTimeZoneRoundTrip() 149 TimeZone tz = TimeZone.getTimeZone(tzids[tzidx]); in TestTimeZoneRoundTrip() 177 String canonicalID = TimeZone.getCanonicalID(tzids[tzidx]); in TestTimeZoneRoundTrip() 183 … logln("Canonical round trip failed (probably as expected); tz=" + tzids[tzidx] in TestTimeZoneRoundTrip() 189 errln("Canonical round trip failed; tz=" + tzids[tzidx] in TestTimeZoneRoundTrip() 197 if (!outtz.getID().equals(tzids[tzidx])) { in TestTimeZoneRoundTrip() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 130 String[] tzids; in TestTimeZoneRoundTrip() local 132 tzids = java.util.TimeZone.getAvailableIDs(); in TestTimeZoneRoundTrip() 134 tzids = TimeZone.getAvailableIDs(); in TestTimeZoneRoundTrip() 149 for (int tzidx = 0; tzidx < tzids.length; tzidx++) { in TestTimeZoneRoundTrip() 150 if (EXCL_TZ_PATTERN.matcher(tzids[tzidx]).matches()) { in TestTimeZoneRoundTrip() 153 TimeZone tz = TimeZone.getTimeZone(tzids[tzidx]); in TestTimeZoneRoundTrip() 181 String canonicalID = TimeZone.getCanonicalID(tzids[tzidx]); in TestTimeZoneRoundTrip() 187 … logln("Canonical round trip failed (probably as expected); tz=" + tzids[tzidx] in TestTimeZoneRoundTrip() 193 errln("Canonical round trip failed; tz=" + tzids[tzidx] in TestTimeZoneRoundTrip() 201 if (!outtz.getID().equals(tzids[tzidx])) { in TestTimeZoneRoundTrip() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 437 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 …]
|
D | TimeZoneRegression.java | 1068 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()
|
D | TimeZoneTest.java | 2148 String[] tzids = TimeZone.getAvailableIDs(); in TestObservesDaylightTime() local 2149 for (String tzid : tzids) { in TestObservesDaylightTime()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 441 String[] tzids = getTestZIDs(); in TestVTimeZoneRoundTrip() local 442 for (int i = 0; i < tzids.length; i++) { in TestVTimeZoneRoundTrip() 443 … BasicTimeZone olsontz = (BasicTimeZone)TimeZone.getTimeZone(tzids[i], TimeZone.TIMEZONE_ICU); in TestVTimeZoneRoundTrip() 444 VTimeZone vtz_org = VTimeZone.create(tzids[i]); in TestVTimeZoneRoundTrip() 486 errln("FAIL: VTimeZone for " + tzids[i] in TestVTimeZoneRoundTrip() 494 …errln("FAIL: VTimeZone for " + tzids[i] + " is not equivalent to its OlsonTimeZone corresponding."… in TestVTimeZoneRoundTrip() 496 …logln("VTimeZone for " + tzids[i] + " differs from its OlsonTimeZone corresponding with maximum tr… in TestVTimeZoneRoundTrip() 500 …logln("VTimeZone for " + tzids[i] + " is not equivalent to its OlsonTimeZone corresponding in stri… in TestVTimeZoneRoundTrip() 518 String[] tzids = getTestZIDs(); in TestVTimeZoneRoundTripPartial() local 521 for (int i = 0; i < tzids.length; i++) { in TestVTimeZoneRoundTripPartial() [all …]
|
D | TimeZoneRegression.java | 1072 String[] tzids = TimeZone.getAvailableIDs(); in TestT5280() local 1073 for (int i = 0; i < tzids.length; i++) { in TestT5280() 1074 TimeZone tz = TimeZone.getTimeZone(tzids[i]); in TestT5280()
|
D | TimeZoneTest.java | 2152 String[] tzids = TimeZone.getAvailableIDs(); in TestObservesDaylightTime() local 2153 for (String tzid : tzids) { in TestObservesDaylightTime()
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | dtfmtrtperf.h | 143 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/ |
D | tzfmttst.cpp | 149 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/ |
D | TimeZoneNameTest.java | 42 String[] tzids = TimeZone.getAvailableIDs(); in TestTimeZoneNames() local 50 for (String tzid : tzids) { in TestTimeZoneNames()
|
/external/icu/icu4c/source/i18n/ |
D | timezone.cpp | 1599 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()
|
D | dtfmtsym.cpp | 1238 StringEnumeration *tzids = NULL; in initZoneStringsArray() local 1245 tzids = TimeZone::createTimeZoneIDEnumeration(ZONE_SET, NULL, NULL, status); in initZoneStringsArray() 1246 rows = tzids->count(status); in initZoneStringsArray() 1267 while ((tzid = tzids->snext(status))) { in initZoneStringsArray() 1302 if (tzids) { in initZoneStringsArray() 1303 delete tzids; in initZoneStringsArray()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeZone.java | 1111 String[] tzids = regionalData.getString().split(" "); in getWindowsID() local 1112 for (String tzid : tzids) { in getWindowsID()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeZone.java | 1199 String[] tzids = regionalData.getString().split(" "); in getWindowsID() local 1200 for (String tzid : tzids) { in getWindowsID()
|