/external/cldr/tools/java/org/unicode/cldr/util/data/ |
D | TZID.txt | 1 # format: tzid | <id> (, <id>)* | <territory> 3 tzid | Europe/Andorra | AD 4 tzid | Asia/Dubai | AE 5 tzid | Asia/Kabul | AF 6 tzid | America/Antigua | AG 7 tzid | America/Anguilla | AI 8 tzid | Europe/Tirane | AL 9 tzid | Asia/Yerevan | AM 10 tzid | America/Curacao | AN 11 tzid | Africa/Luanda | AO [all …]
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | idList.txt | 878 tzid ; Europe/Andorra ; AD 879 tzid ; Asia/Dubai ; AE 880 tzid ; Asia/Kabul ; AF 881 tzid ; America/Antigua ; AG 882 tzid ; America/Anguilla ; AI 883 tzid ; Europe/Tirane ; AL 884 tzid ; Asia/Yerevan ; AM 885 tzid ; America/Curacao ; AN 886 tzid ; Africa/Luanda ; AO 887 tzid ; Antarctica/Palmer; ; AQ [all …]
|
/external/timezone-boundary-builder/ |
D | index.js | 263 var getTzDistFilename = function (tzid) { argument 264 return './dist/' + tzid.replace(/\//g, '__') + '.json' 360 var makeTimezoneBoundary = function (tzid, callback) { argument 361 buildingProgress.beginTask(`makeTimezoneBoundary for ${tzid}`, true) 363 var ops = zoneCfg[tzid] 387 fs.writeFile(getTzDistFilename(tzid), 396 var tzid 399 tzid = zones[i] 400 distZones[tzid] = getDataSource({ source: 'dist', id: tzid }) 404 var getDistZoneGeom = function (tzid) { argument [all …]
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | TimeZoneNameTest.java | 55 for (String tzid : tzids) { in TestTimeZoneNames() 60 String icuStdLong = getIcuDisplayName(tzid, false, TimeZone.LONG, loc); in TestTimeZoneNames() 61 String icuDstLong = getIcuDisplayName(tzid, true, TimeZone.LONG, loc); in TestTimeZoneNames() 62 String icuStdShort = getIcuDisplayName(tzid, false, TimeZone.SHORT, loc); in TestTimeZoneNames() 63 String icuDstShort = getIcuDisplayName(tzid, true, TimeZone.SHORT, loc); in TestTimeZoneNames() 66 … checkDisplayNamePair(TimeZone.SHORT, tzid, loc, warningOnly || ProblematicZones.contains(tzid)); in TestTimeZoneNames() 67 … checkDisplayNamePair(TimeZone.LONG, tzid, loc, warningOnly || ProblematicZones.contains(tzid)); in TestTimeZoneNames() 70 + tzid + " in locale " + loc + " in ICU"); in TestTimeZoneNames() 76 private void checkDisplayNamePair(int style, String tzid, Locale loc, boolean warnOnly) { in checkDisplayNamePair() argument 89 String icuStdName = getIcuDisplayName(tzid, false, style, loc); in checkDisplayNamePair() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | zonemeta.h | 39 …static UnicodeString& U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &syste… 50 static const UChar* U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status); 65 …static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &coun… 70 …static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString… 76 static const UVector* U_EXPORT2 getMetazoneMappings(const UnicodeString &tzid); 84 static const UChar* U_EXPORT2 findTimeZoneID(const UnicodeString& tzid); 117 static UVector* createMetazoneMappings(const UnicodeString &tzid);
|
D | zonemeta.cpp | 236 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { in getCanonicalCLDRID() argument 241 if (tzid.isBogus() || tzid.length() > ZID_KEY_MAX) { in getCanonicalCLDRID() 256 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus); in getCanonicalCLDRID() 279 tzid.extract(0, 0x7fffffff, id, UPRV_LENGTHOF(id), US_INV); in getCanonicalCLDRID() 296 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID() 313 const UChar *derefer = TimeZone::dereferOlsonLink(tzid); in getCanonicalCLDRID() 355 const UChar* key = ZoneMeta::findTimeZoneID(tzid); in getCanonicalCLDRID() 378 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status… in getCanonicalCLDRID() argument 379 const UChar *canonicalID = getCanonicalCLDRID(tzid, status); in getCanonicalCLDRID() 423 ZoneMeta::getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary /… in getCanonicalCountry() argument [all …]
|
D | olsontz.cpp | 122 const UnicodeString& tzid, in OlsonTimeZone() argument 124 BasicTimeZone(tzid), finalZone(NULL) in OlsonTimeZone() 257 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); in OlsonTimeZone() 711 UnicodeString tzid; in initTransitionRules() local 712 getID(tzid); in initTransitionRules() 714 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)"); in initTransitionRules() 715 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)"); in initTransitionRules() 849 finalZone->getID(tzid); in initTransitionRules() 850 firstFinalRule = new TimeArrayTimeZoneRule(tzid, in initTransitionRules()
|
/external/icu/libicu/cts_headers/ |
D | zonemeta.h | 39 …static UnicodeString& U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &syste… 50 static const UChar* U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status); 65 …static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &coun… 70 …static UnicodeString& U_EXPORT2 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString… 76 static const UVector* U_EXPORT2 getMetazoneMappings(const UnicodeString &tzid); 84 static const UChar* U_EXPORT2 findTimeZoneID(const UnicodeString& tzid); 117 static UVector* createMetazoneMappings(const UnicodeString &tzid);
|
/external/icu/icu4c/source/test/intltest/ |
D | tzfmttst.cpp | 186 const UnicodeString *tzid; in TestTimeZoneRoundTrip() local 187 while ((tzid = tzids->snext(status))) { in TestTimeZoneRoundTrip() 188 TimeZone *tz = TimeZone::createTimeZone(*tzid); in TestTimeZoneRoundTrip() 222 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); in TestTimeZoneRoundTrip() 234 TimeZone::getCanonicalID(*tzid, canonicalID, status); in TestTimeZoneRoundTrip() 237 errln((UnicodeString)"Unknown ID " + *tzid); in TestTimeZoneRoundTrip() 243 … logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid in TestTimeZoneRoundTrip() 248 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip() 256 if (outtzid != *tzid) { in TestTimeZoneRoundTrip() 257 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid in TestTimeZoneRoundTrip() [all …]
|
D | tzrulets.cpp | 616 const UnicodeString *tzid = tzenum.snext(status); in TestOlsonTransition() local 617 if (tzid == NULL) { in TestOlsonTransition() 624 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestOlsonTransition() 651 const UnicodeString *tzid = tzenum.snext(status); in TestRBTZTransition() local 652 if (tzid == NULL) { in TestRBTZTransition() 659 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestRBTZTransition() 666 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid); in TestRBTZTransition() 668 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone()); in TestRBTZTransition() 670 … errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid); in TestRBTZTransition() 675 …UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid); in TestRBTZTransition() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ZoneMeta.java | 361 public static String getCanonicalCLDRID(String tzid) { in getCanonicalCLDRID() argument 362 String canonical = CANONICAL_ID_CACHE.get(tzid); in getCanonicalCLDRID() 364 canonical = findCLDRCanonicalID(tzid); in getCanonicalCLDRID() 368 int zoneIdx = getZoneIndex(tzid); in getCanonicalCLDRID() 376 tzid = getZoneID(zone.getInt()); in getCanonicalCLDRID() 377 canonical = findCLDRCanonicalID(tzid); in getCanonicalCLDRID() 380 canonical = tzid; in getCanonicalCLDRID() 388 CANONICAL_ID_CACHE.put(tzid, canonical); in getCanonicalCLDRID() 394 private static String findCLDRCanonicalID(String tzid) { in findCLDRCanonicalID() argument 396 String tzidKey = tzid.replace('/', ':'); in findCLDRCanonicalID() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ZoneMeta.java | 360 public static String getCanonicalCLDRID(String tzid) { in getCanonicalCLDRID() argument 361 String canonical = CANONICAL_ID_CACHE.get(tzid); in getCanonicalCLDRID() 363 canonical = findCLDRCanonicalID(tzid); in getCanonicalCLDRID() 367 int zoneIdx = getZoneIndex(tzid); in getCanonicalCLDRID() 375 tzid = getZoneID(zone.getInt()); in getCanonicalCLDRID() 376 canonical = findCLDRCanonicalID(tzid); in getCanonicalCLDRID() 379 canonical = tzid; in getCanonicalCLDRID() 387 CANONICAL_ID_CACHE.put(tzid, canonical); in getCanonicalCLDRID() 393 private static String findCLDRCanonicalID(String tzid) { in findCLDRCanonicalID() argument 395 String tzidKey = tzid.replace('/', ':'); in findCLDRCanonicalID() [all …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 712 String tzid = tz.getID(); in TestTimeZone() local 713 if (!tzid.equals("Asia/Shanghai")) { in TestTimeZone() 714 errln("FAIL: Time zone ID is " + tzid + " Expected: Asia/Shanghai"); in TestTimeZone() 721 tzid = tz.getID(); in TestTimeZone() 722 if (!tzid.equals("America/New_York")) { in TestTimeZone() 723 errln("FAIL: Time zone ID is " + tzid + " Expected: America/New_York"); in TestTimeZone() 730 tzid = tz.getID(); in TestTimeZone() 731 if (!tzid.equals("Europe/London")) { in TestTimeZone() 732 errln("FAIL: Time zone ID is " + tzid + " Expected: Europe/London"); in TestTimeZone() 738 tzid = tz.getID(); in TestTimeZone() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 715 String tzid = tz.getID(); in TestTimeZone() local 716 if (!tzid.equals("Asia/Shanghai")) { in TestTimeZone() 717 errln("FAIL: Time zone ID is " + tzid + " Expected: Asia/Shanghai"); in TestTimeZone() 724 tzid = tz.getID(); in TestTimeZone() 725 if (!tzid.equals("America/New_York")) { in TestTimeZone() 726 errln("FAIL: Time zone ID is " + tzid + " Expected: America/New_York"); in TestTimeZone() 733 tzid = tz.getID(); in TestTimeZone() 734 if (!tzid.equals("Europe/London")) { in TestTimeZone() 735 errln("FAIL: Time zone ID is " + tzid + " Expected: Europe/London"); in TestTimeZone() 741 tzid = tz.getID(); in TestTimeZone() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestBCP47.java | 220 for (String tzid : TimeZone.getAvailableIDs()) { in testBcp47IdsForAllTimezoneIds() 221 if (BOGUS_TZIDS.contains(tzid)) { in testBcp47IdsForAllTimezoneIds() 224 String bcp47Id = aliasToId.get(tzid); in testBcp47IdsForAllTimezoneIds() 225 if (!assertNotNull(tzid, bcp47Id)) { in testBcp47IdsForAllTimezoneIds() 226 missingAliases.add(tzid); in testBcp47IdsForAllTimezoneIds() 230 String canonical = TimeZone.getCanonicalID(tzid); in testBcp47IdsForAllTimezoneIds()
|
/external/icu/icu4c/source/common/ |
D | putil.cpp | 1106 const char *tzid = NULL; in uprv_tzname() local 1108 tzid = uprv_detectWindowsTimeZone(); in uprv_tzname() 1110 if (tzid != NULL) { in uprv_tzname() 1111 return tzid; in uprv_tzname() 1136 tzid = gAndroidTimeZone; in uprv_tzname() 1138 tzid = getenv("TZ"); in uprv_tzname() 1140 if (tzid != NULL && isValidOlsonID(tzid) in uprv_tzname() 1143 && uprv_strcmp(tzid, TZ_ENV_CHECK) != 0 in uprv_tzname() 1147 if (tzid[0] == ':') { in uprv_tzname() 1148 tzid++; in uprv_tzname() [all …]
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | dtfmtrtperf.h | 164 const UnicodeString *tzid; in call() local 165 while ((tzid = tzids->snext(*status))) { in call() 166 TimeZone *tz = TimeZone::createTimeZone(*tzid); in call()
|
/external/python/dateutil/dateutil/tz/ |
D | tz.py | 1162 def __init__(self, tzid, comps=[]): argument 1165 self._tzid = tzid 1281 def get(self, tzid=None): argument 1299 if tzid is None: 1304 tzid = next(iter(self._vtz)) 1306 return self._vtz.get(tzid) 1341 tzid = None 1371 if not tzid: 1377 self._vtz[tzid] = _tzicalvtz(tzid, comps) 1439 tzid = value [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRegressionTest.java | 1142 String tzid = "MyZone"; in TestT5432() local 1146 stz = new SimpleTimeZone(0, tzid); in TestT5432() 1147 if (!tzid.equals(stz.getID())) { in TestT5432() 1149 + tzid + ") [2-arg constructor]"); in TestT5432() 1153 stz = new SimpleTimeZone(0, tzid, 3, -1, 1, 3600000, 9, -1, 1, 3600000); in TestT5432() 1154 if (!tzid.equals(stz.getID())) { in TestT5432() 1156 + tzid + ") [10-arg constructor]"); in TestT5432() 1160 stz = new SimpleTimeZone(0, tzid, 3, -1, 1, 3600000, 9, -1, 1, 3600000, 3600000); in TestT5432() 1161 if (!tzid.equals(stz.getID())) { in TestT5432() 1163 + tzid + ") [11-arg constructor]"); in TestT5432() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRegressionTest.java | 1145 String tzid = "MyZone"; in TestT5432() local 1149 stz = new SimpleTimeZone(0, tzid); in TestT5432() 1150 if (!tzid.equals(stz.getID())) { in TestT5432() 1152 + tzid + ") [2-arg constructor]"); in TestT5432() 1156 stz = new SimpleTimeZone(0, tzid, 3, -1, 1, 3600000, 9, -1, 1, 3600000); in TestT5432() 1157 if (!tzid.equals(stz.getID())) { in TestT5432() 1159 + tzid + ") [10-arg constructor]"); in TestT5432() 1163 stz = new SimpleTimeZone(0, tzid, 3, -1, 1, 3600000, 9, -1, 1, 3600000, 3600000); in TestT5432() 1164 if (!tzid.equals(stz.getID())) { in TestT5432() 1166 + tzid + ") [11-arg constructor]"); in TestT5432() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | VerifyZones.java | 395 String tzid = row.getZone(); in addZones() local 396 TimeZone currentZone = TimeZone.getTimeZone(tzid); in addZones() 405 boolean isGolden = goldenZones.contains(tzid); in addZones() 406 String countryCode2 = TimeZone.getRegion(tzid); in addZones() 413 .addCell(englishTerritory + ": " + tzid.replace("/", "/\u200B")); in addZones() 416 … String formattedZone = tzformatter.getFormattedZone(tzid, pattern.toString(), date2); in addZones()
|
D | Containment.java | 75 public static String getRegionFromZone(String tzid) { in getRegionFromZone() argument 76 if ("Etc/Unknown".equals(tzid)) { in getRegionFromZone() 80 return TimeZone.getRegion(tzid); in getRegionFromZone()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | VTimeZone.java | 51 public static VTimeZone create(String tzid) { in create() argument 52 BasicTimeZone basicTimeZone = TimeZone.getFrozenICUTimeZone(tzid, true); in create() 56 VTimeZone vtz = new VTimeZone(tzid); in create() 469 private VTimeZone(String tzid) { in VTimeZone() argument 470 super(tzid); in VTimeZone() 571 String tzid = null; in parse() local 602 tzid = value; in parse() 613 if (tzid == null) { in parse() 679 tzname = getDefaultTZName(tzid, dst); in parse() 767 InitialTimeZoneRule initialRule = new InitialTimeZoneRule(getDefaultTZName(tzid, false), in parse() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | VTimeZone.java | 50 public static VTimeZone create(String tzid) { in create() argument 51 BasicTimeZone basicTimeZone = TimeZone.getFrozenICUTimeZone(tzid, true); in create() 55 VTimeZone vtz = new VTimeZone(tzid); in create() 438 private VTimeZone(String tzid) { in VTimeZone() argument 439 super(tzid); in VTimeZone() 540 String tzid = null; in parse() local 571 tzid = value; in parse() 582 if (tzid == null) { in parse() 648 tzname = getDefaultTZName(tzid, dst); in parse() 736 InitialTimeZoneRule initialRule = new InitialTimeZoneRule(getDefaultTZName(tzid, false), in parse() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1314 String tzid = (String)test[0]; in TestRepeatedWallTime() local 1315 TimeZone tz = TimeZone.getTimeZone(tzid); in TestRepeatedWallTime() 1326 …errln("Fail: WALLTIME_LAST " + in + "[" + tzid + "] is parsed as " + outLastGMT + "[GMT]. Expected… in TestRepeatedWallTime() 1335 …errln("Fail: (default) " + in + "[" + tzid + "] is parsed as " + outDefGMT + "[GMT]. Expected: " +… in TestRepeatedWallTime() 1344 …errln("Fail: WALLTIME_FIRST " + in + "[" + tzid + "] is parsed as " + outFirstGMT + "[GMT]. Expect… in TestRepeatedWallTime() 1400 String tzid = (String)test[0]; in TestSkippedWallTime() local 1401 TimeZone tz = TimeZone.getTimeZone(tzid); in TestSkippedWallTime() 1419 … errln("Fail: IllegalArgumentException expected - " + in + "[" + tzid + "] (WALLTIME_LAST)"); in TestSkippedWallTime() 1421 …errln("Fail: WALLTIME_LAST " + in + "[" + tzid + "] is parsed as " + outLastGMT + "[GMT]. Expected… in TestSkippedWallTime() 1425 … errln("Fail: Unexpected IllegalArgumentException - " + in + "[" + tzid + "] (WALLTIME_LAST)"); in TestSkippedWallTime() [all …]
|