Home
last modified time | relevance | path

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

/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
DICUZDump.java283 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/
DTimeZoneFormatTest.java126 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/
DTimeZoneFormatTest.java130 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/
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.java2148 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/
DTimeZoneRuleTest.java441 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 …]
DTimeZoneRegression.java1072 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()
DTimeZoneTest.java2152 String[] tzids = TimeZone.getAvailableIDs(); in TestObservesDaylightTime() local
2153 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.cpp1238 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/
DTimeZone.java1111 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/
DTimeZone.java1199 String[] tzids = regionalData.getString().split(" "); in getWindowsID() local
1200 for (String tzid : tzids) { in getWindowsID()