Home
last modified time | relevance | path

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

/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateSupplementalZoneData.java29 Set<String> tzids = new TreeSet<>(); in main() local
30 tzids.addAll(zp.getZoneData().keySet()); in main()
32 tzids.add("EST5EDT"); in main()
33 tzids.add("CST6CDT"); in main()
34 tzids.add("MST7MDT"); in main()
35 tzids.add("PST8PDT"); in main()
39 for (String z : tzids) { in main()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
DICUZDump.java285 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/
DTimeZoneRuleTest.java449 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 …]
DTimeZoneRegressionTest.java1095 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()
DTimeZoneTest.java2183 String[] tzids = TimeZone.getAvailableIDs(); in TestObservesDaylightTime() local
2184 for (String tzid : tzids) { in TestObservesDaylightTime()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java446 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 …]
DTimeZoneRegressionTest.java1092 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()
DTimeZoneTest.java2180 String[] tzids = TimeZone.getAvailableIDs(); in TestObservesDaylightTime() local
2181 for (String tzid : tzids) { in TestObservesDaylightTime()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h146 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/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java138 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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java135 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/icu4c/source/test/intltest/
Dtzfmttst.cpp161 StringEnumeration *tzids = TimeZone::createEnumeration(); in TestTimeZoneRoundTrip() local
185 tzids->reset(status); in TestTimeZoneRoundTrip()
187 while ((tzid = tzids->snext(status))) { in TestTimeZoneRoundTrip()
349 delete tzids; in TestTimeZoneRoundTrip()
551 …StringEnumeration *tzids = TimeZone::createTimeZoneIDEnumeration(UCAL_ZONE_TYPE_CANONICAL, NULL, N… in RunTimeRoundTripTests() local
582 tzids->reset(status); in RunTimeRoundTripTests()
587 while ((tzid = tzids->snext(status))) { in RunTimeRoundTripTests()
713 delete tzids; in RunTimeRoundTripTests()
1304 LocalPointer<StringEnumeration> tzids(TimeZone::createEnumeration()); in TestFormatTZDBNamesAllZoneCoverage() local
1305 if (tzids.getAlias() == nullptr) { in TestFormatTZDBNamesAllZoneCoverage()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DTimezoneFormatter.java718 String[] tzids = TimeZone.getAvailableIDs(key); in buildParsingInfo() local
719 if (tzids == null || tzids.length == 0) continue; in buildParsingInfo()
721 if (tzids.length == 1) { in buildParsingInfo()
722 country_zone.put(key, tzids[0]); in buildParsingInfo()
724 Set<String> set = new LinkedHashSet<>(Arrays.asList(tzids)); // make modifyable in buildParsingInfo()
/external/python/dateutil/dateutil/
Drrule.py1563 ignoretz, tzids, tzinfos):
1578 if tzids is None:
1581 elif callable(tzids):
1582 tzlookup = tzids
1584 tzlookup = getattr(tzids, 'get', None)
1587 'not %s' % tzids)
1621 tzids=None, argument
1689 tzids, tzinfos)
1693 ignoretz, tzids, tzinfos)
/external/icu/icu4c/source/i18n/
Dtimezone.cpp1625 const UChar *tzids = ures_getString(regionalData, &len, &status); in getWindowsID() local
1630 const UChar *start = tzids; in getWindowsID()
1635 end = tzids + len; in getWindowsID()
1691 … const UChar *tzids = ures_getStringByKey(zones, region, &len, &tmperr); // use tmperr, because in getIDForWindowsID() local
1695 const UChar *end = u_strchr(tzids, (UChar)0x20); in getIDForWindowsID()
1697 id.setTo(tzids, -1); in getIDForWindowsID()
1699 id.setTo(tzids, static_cast<int32_t>(end - tzids)); in getIDForWindowsID()
Ddtfmtsym.cpp1280 StringEnumeration *tzids = NULL; in initZoneStringsArray() local
1293 tzids = TimeZone::createTimeZoneIDEnumeration(ZONE_SET, NULL, NULL, status); in initZoneStringsArray()
1294 rows = tzids->count(status); in initZoneStringsArray()
1317 while ((tzid = tzids->snext(status)) != 0) { in initZoneStringsArray()
1350 if (tzids) { in initZoneStringsArray()
1351 delete tzids; in initZoneStringsArray()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DTimeZoneNameTest.java47 String[] tzids = TimeZone.getAvailableIDs(); in TestTimeZoneNames() local
55 for (String tzid : tzids) { in TestTimeZoneNames()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeZone.java1149 String[] tzids = regionalData.getString().split(" "); in getWindowsID() local
1150 for (String tzid : tzids) { in getWindowsID()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZone.java1243 String[] tzids = regionalData.getString().split(" "); in getWindowsID() local
1244 for (String tzid : tzids) { in getWindowsID()
/external/python/dateutil/dateutil/test/
Dtest_tz.py1805 def _test_multi_zones(self, tzstrs, tzids, func, values, start): argument
1807 for tzid, vals in zip(tzids, values):
1869 tzids = ('US-Eastern', 'US-Pacific')
1889 self._test_multi_zones(tzstrs, tzids, func, values, start)
Dtest_rrule.py2693 rr = rrulestr(rrstr, tzids={'Eastern': NYC})
2711 rr = rrulestr(rrstr, tzids=parse_tzstr)
2732 rrulestr(rrstr, tzids=tzinfos)