/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
H A 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 TestTimeZoneNames() 76 checkDisplayNamePair(int style, String tzid, Locale loc, boolean warnOnly) checkDisplayNamePair() argument 97 getIcuDisplayName(String tzid, boolean daylight, int style, Locale loc) getIcuDisplayName() argument 120 checkDisplayName(boolean daylight, int style, String tzid, Locale loc, String icuname, boolean warnOnly) checkDisplayName() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | zonemeta.h | 33 * Return the canonical id for this tzid defined by CLDR, which might be the id itself. 34 * If the given system tzid is not known, U_ILLEGAL_ARGUMENT_ERROR is set in the status. 39 static UnicodeString& U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status); 42 * Return the canonical id for this tzid defined by CLDR, which might be the id itself. 44 * (a pointer to a resource). If the given system tzid is not known, U_ILLEGAL_ARGUMENT_ERROR 46 * @param tzid Zone ID 50 static const char16_t* U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status); 59 * If the given system tzid is not known, U_ILLEGAL_ARGUMENT_ERROR is set in the status. 61 * @param tzid Zone ID 66 static UnicodeString& U_EXPORT2 getIanaID(const UnicodeString& tzid, UnicodeStrin [all...] |
H A D | zonemeta.cpp | 229 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { in getCanonicalCLDRID() argument 234 if (tzid.isBogus() || tzid.length() > ZID_KEY_MAX) { in getCanonicalCLDRID() 249 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus); in getCanonicalCLDRID() 250 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already in getCanonicalCLDRID() 272 tzid.extract(0, 0x7fffffff, id, UPRV_LENGTHOF(id), US_INV); in getCanonicalCLDRID() 289 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID() 306 const char16_t *derefer = TimeZone::dereferOlsonLink(tzid); in getCanonicalCLDRID() 348 const char16_t* key = ZoneMeta::findTimeZoneID(tzid); in getCanonicalCLDRID() 371 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeStrin argument 394 getIanaID(const UnicodeString& tzid, UnicodeString& ianaID, UErrorCode& status) getIanaID() argument 445 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary ) getCanonicalCountry() argument 548 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) getMetazoneID() argument 581 getMetazoneMappings(const UnicodeString &tzid) getMetazoneMappings() argument 649 createMetazoneMappings(const UnicodeString &tzid) createMetazoneMappings() argument 733 const char16_t *tzid = nullptr; getZoneIdByMetazone() local 854 findTimeZoneID(const UnicodeString& tzid) findTimeZoneID() argument [all...] |
H A D | olsontz.cpp | 122 const UnicodeString& tzid, in OlsonTimeZone() 124 BasicTimeZone(tzid), finalZone(nullptr) in OlsonTimeZone() 257 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); in OlsonTimeZone() 710 UnicodeString tzid; in initTransitionRules() local 711 getID(tzid); in initTransitionRules() 713 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)"); in initTransitionRules() 714 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)"); in initTransitionRules() 848 finalZone->getID(tzid); in initTransitionRules() 849 firstFinalRule = new TimeArrayTimeZoneRule(tzid, in initTransitionRules() 120 OlsonTimeZone(const UResourceBundle* top, const UResourceBundle* res, const UnicodeString& tzid, UErrorCode& ec) OlsonTimeZone() argument
|
H A D | vtzone.cpp | 353 static void getDefaultTZName(const UnicodeString &tzid, UBool isDST, UnicodeString& zonename) { in getDefaultTZName() argument 354 zonename = tzid; in getDefaultTZName() 1373 UnicodeString tzid; in parse() local 1420 tzid = value; in parse() 1433 // tzid must be ready at this point in parse() 1434 if (tzid.length() == 0) { in parse() 1505 // if zonename is not available, create one from tzid in parse() 1507 getDefaultTZName(tzid, dst, zonename); in parse() 1594 getDefaultTZName(tzid, false, zonename); in parse() 1605 new RuleBasedTimeZone(tzid, initialRul in parse() 1759 UnicodeString tzid; write() local 1814 UnicodeString tzid; writeSimple() local 2037 UnicodeString tzid; writeZone() local 2148 UnicodeString tzid; writeHeaders() local [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tzfmttst.cpp | 191 const UnicodeString *tzid; in TestTimeZoneRoundTrip() local 192 while ((tzid = tzids->snext(status))) { in TestTimeZoneRoundTrip() 193 TimeZone *tz = TimeZone::createTimeZone(*tzid); in TestTimeZoneRoundTrip() 227 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); in TestTimeZoneRoundTrip() 239 TimeZone::getCanonicalID(*tzid, canonicalID, status); in TestTimeZoneRoundTrip() 242 errln((UnicodeString)"Unknown ID " + *tzid); in TestTimeZoneRoundTrip() 248 logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid in TestTimeZoneRoundTrip() 253 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip() 261 if (outtzid != *tzid) { in TestTimeZoneRoundTrip() 262 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid in TestTimeZoneRoundTrip() 588 const UnicodeString *tzid; RunTimeRoundTripTests() local 1075 const char* tzid; global() member 1298 UnicodeString tzid = UnicodeString(id, -1, US_INV).unescape(); TestFormatCustomZone() local 1323 const UnicodeString *tzid; TestFormatTZDBNamesAllZoneCoverage() local [all...] |
H A D | tzrulets.cpp | 612 const UnicodeString *tzid = tzenum.snext(status); in TestOlsonTransition() local 613 if (tzid == NULL) { in TestOlsonTransition() 620 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestOlsonTransition() 647 const UnicodeString *tzid = tzenum.snext(status); in TestRBTZTransition() local 648 if (tzid == NULL) { in TestRBTZTransition() 655 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestRBTZTransition() 662 errln((UnicodeString)"FAIL: failed to get the TimeZoneRules from time zone " + *tzid); in TestRBTZTransition() 664 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial->clone()); in TestRBTZTransition() 666 errln((UnicodeString)"FAIL: failed to get the transition rule count from time zone " + *tzid); in TestRBTZTransition() 671 errln((UnicodeString)"FAIL: failed to add a transition rule at index " + i + " to the RBTZ for " + *tzid); in TestRBTZTransition() 784 const UnicodeString *tzid = tzenum.snext(status); TestVTimeZoneRoundTrip() local 884 const UnicodeString *tzid = tzenum.snext(status); TestVTimeZoneRoundTripPartial() local 980 const UnicodeString *tzid = tzenum.snext(status); TestVTimeZoneSimpleWrite() local 1120 const UnicodeString *tzid = tzenum.snext(status); TestGetSimpleRules() local 1869 UnicodeString tzid; TestVTimeZoneParse() local 2336 UnicodeString tzid; verifyTransitions() local [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | zonemeta.h | 33 * Return the canonical id for this tzid defined by CLDR, which might be the id itself. 34 * If the given system tzid is not known, U_ILLEGAL_ARGUMENT_ERROR is set in the status. 39 static UnicodeString& U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status); 42 * Return the canonical id for this tzid defined by CLDR, which might be the id itself. 44 * (a pointer to a resource). If the given system tzid is not known, U_ILLEGAL_ARGUMENT_ERROR 46 * @param tzid Zone ID 50 static const UChar* U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status); 58 * Return the canonical country code for this tzid. If we have none, or if the time zone 60 * @param tzid Zone ID 65 static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeStrin [all...] |
H A D | zonemeta.cpp | 228 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status) { in getCanonicalCLDRID() argument 233 if (tzid.isBogus() || tzid.length() > ZID_KEY_MAX) { in getCanonicalCLDRID() 248 tzid.extract(utzid, ZID_KEY_MAX + 1, tmpStatus); in getCanonicalCLDRID() 249 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already in getCanonicalCLDRID() 271 tzid.extract(0, 0x7fffffff, id, UPRV_LENGTHOF(id), US_INV); in getCanonicalCLDRID() 288 canonicalID = TimeZone::findID(tzid); in getCanonicalCLDRID() 305 const UChar *derefer = TimeZone::dereferOlsonLink(tzid); in getCanonicalCLDRID() 347 const UChar* key = ZoneMeta::findTimeZoneID(tzid); in getCanonicalCLDRID() 370 ZoneMeta::getCanonicalCLDRID(const UnicodeString &tzid, UnicodeStrin argument 415 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary ) getCanonicalCountry() argument 518 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) getMetazoneID() argument 551 getMetazoneMappings(const UnicodeString &tzid) getMetazoneMappings() argument 619 createMetazoneMappings(const UnicodeString &tzid) createMetazoneMappings() argument 703 const UChar *tzid = NULL; getZoneIdByMetazone() local 824 findTimeZoneID(const UnicodeString& tzid) findTimeZoneID() argument [all...] |
H A D | olsontz.cpp | 122 const UnicodeString& tzid, in OlsonTimeZone() 124 BasicTimeZone(tzid), finalZone(NULL) in OlsonTimeZone() 257 canonicalID = ZoneMeta::getCanonicalCLDRID(tzid, ec); in OlsonTimeZone() 710 UnicodeString tzid; in initTransitionRules() local 711 getID(tzid); in initTransitionRules() 713 UnicodeString stdName = tzid + UNICODE_STRING_SIMPLE("(STD)"); in initTransitionRules() 714 UnicodeString dstName = tzid + UNICODE_STRING_SIMPLE("(DST)"); in initTransitionRules() 848 finalZone->getID(tzid); in initTransitionRules() 849 firstFinalRule = new TimeArrayTimeZoneRule(tzid, in initTransitionRules() 120 OlsonTimeZone(const UResourceBundle* top, const UResourceBundle* res, const UnicodeString& tzid, UErrorCode& ec) OlsonTimeZone() argument
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | zonemeta.h | 33 * Return the canonical id for this tzid defined by CLDR, which might be the id itself. 34 * If the given system tzid is not known, U_ILLEGAL_ARGUMENT_ERROR is set in the status. 39 static UnicodeString& U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UnicodeString &systemID, UErrorCode& status); 42 * Return the canonical id for this tzid defined by CLDR, which might be the id itself. 44 * (a pointer to a resource). If the given system tzid is not known, U_ILLEGAL_ARGUMENT_ERROR 46 * @param tzid Zone ID 50 static const UChar* U_EXPORT2 getCanonicalCLDRID(const UnicodeString &tzid, UErrorCode& status); 58 * Return the canonical country code for this tzid. If we have none, or if the time zone 60 * @param tzid Zone ID 65 static UnicodeString& U_EXPORT2 getCanonicalCountry(const UnicodeString &tzid, UnicodeStrin [all...] |
H A 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() 257 U_ASSERT(tmpStatus == U_ZERO_ERROR); // we checked the length of tzid already 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, UnicodeStrin argument 423 getCanonicalCountry(const UnicodeString &tzid, UnicodeString &country, UBool *isPrimary ) getCanonicalCountry() argument 526 getMetazoneID(const UnicodeString &tzid, UDate date, UnicodeString &result) getMetazoneID() argument 559 getMetazoneMappings(const UnicodeString &tzid) getMetazoneMappings() argument 627 createMetazoneMappings(const UnicodeString &tzid) createMetazoneMappings() argument 720 const UChar *tzid = NULL; getZoneIdByMetazone() local 838 findTimeZoneID(const UnicodeString& tzid) findTimeZoneID() argument [all...] |
H A D | olsontz.cpp | 122 const UnicodeString& tzid, in OlsonTimeZone() 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() 120 OlsonTimeZone(const UResourceBundle* top, const UResourceBundle* res, const UnicodeString& tzid, UErrorCode& ec) OlsonTimeZone() argument
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ZoneMeta.java | 354 * Return the canonical id for this tzid defined by CLDR, which might be 355 * the id itself. If the given tzid is not known, return null. 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, canonica in getCanonicalCLDRID() 393 findCLDRCanonicalID(String tzid) findCLDRCanonicalID() argument 426 getRegion(String tzid) getRegion() argument 453 getCanonicalCountry(String tzid) getCanonicalCountry() argument 466 getCanonicalCountry(String tzid, Output<Boolean> isPrimary) getCanonicalCountry() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | ZoneMeta.java | 355 * Return the canonical id for this tzid defined by CLDR, which might be 356 * the id itself. If the given tzid is not known, return null. 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, canonica in getCanonicalCLDRID() 394 findCLDRCanonicalID(String tzid) findCLDRCanonicalID() argument 427 getRegion(String tzid) getRegion() argument 454 getCanonicalCountry(String tzid) getCanonicalCountry() argument 467 getCanonicalCountry(String tzid, Output<Boolean> isPrimary) getCanonicalCountry() argument [all...] |
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
H A D | GlobalizationPreferencesTest.java | 712 String tzid = tz.getID(); in TestTimeZone() 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 in TestTimeZone() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | GlobalizationPreferencesTest.java | 715 String tzid = tz.getID(); in TestTimeZone() 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 in TestTimeZone() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | putil.cpp | 1115 const char *tzid = NULL; in uprv_tzname() local 1117 tzid = uprv_detectWindowsTimeZone(); in uprv_tzname() 1119 if (tzid != NULL) { in uprv_tzname() 1120 return tzid; in uprv_tzname() 1136 tzid = getenv("TZFILE"); in uprv_tzname() 1137 if (tzid != NULL) { in uprv_tzname() 1138 return tzid; in uprv_tzname() 1145 tzid = gAndroidTimeZone; in uprv_tzname() 1147 tzid = getenv("TZ"); in uprv_tzname() 1149 if (tzid ! in uprv_tzname() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | putil.cpp | 1115 const char *tzid = nullptr; in uprv_tzname() local 1117 tzid = uprv_detectWindowsTimeZone(); in uprv_tzname() 1119 if (tzid != nullptr) { in uprv_tzname() 1120 return tzid; in uprv_tzname() 1136 tzid = getenv("TZFILE"); in uprv_tzname() 1137 if (tzid != nullptr) { in uprv_tzname() 1138 return tzid; in uprv_tzname() 1145 tzid = gAndroidTimeZone; in uprv_tzname() 1147 tzid = getenv("TZ"); in uprv_tzname() 1149 if (tzid ! in uprv_tzname() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A 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() 1127 tzid = getenv("TZFILE"); in uprv_tzname() 1128 if (tzid != NULL) { in uprv_tzname() 1129 return tzid; in uprv_tzname() 1136 tzid = gAndroidTimeZone; in uprv_tzname() 1138 tzid = getenv("TZ"); in uprv_tzname() 1140 if (tzid ! in uprv_tzname() [all...] |
/third_party/icu/icu4c/source/test/perf/normperf/ |
H A 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()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
H A D | TimeZoneRegressionTest.java | 1145 String tzid = "MyZone"; in TestT5432() 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 in TestT5432() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
H A D | TimeZoneRegressionTest.java | 1142 String tzid = "MyZone"; in TestT5432() 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 in TestT5432() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | IBMCalendarTest.java | 1310 String tzid = (String)test[0]; in TestRepeatedWallTime() 1311 TimeZone tz = TimeZone.getTimeZone(tzid); in TestRepeatedWallTime() 1322 errln("Fail: WALLTIME_LAST " + in + "[" + tzid + "] is parsed as " + outLastGMT + "[GMT]. Expected: " + expLastGMT + "[GMT]"); in TestRepeatedWallTime() 1331 errln("Fail: (default) " + in + "[" + tzid + "] is parsed as " + outDefGMT + "[GMT]. Expected: " + expLastGMT + "[GMT]"); in TestRepeatedWallTime() 1340 errln("Fail: WALLTIME_FIRST " + in + "[" + tzid + "] is parsed as " + outFirstGMT + "[GMT]. Expected: " + expFirstGMT + "[GMT]"); in TestRepeatedWallTime() 1396 String tzid = (String)test[0]; in TestSkippedWallTime() 1397 TimeZone tz = TimeZone.getTimeZone(tzid); in TestSkippedWallTime() 1415 errln("Fail: IllegalArgumentException expected - " + in + "[" + tzid + "] (WALLTIME_LAST)"); in TestSkippedWallTime() 1417 errln("Fail: WALLTIME_LAST " + in + "[" + tzid + "] is parsed as " + outLastGMT + "[GMT]. Expected: " + expLastGMT + "[GMT]"); in TestSkippedWallTime() 1421 errln("Fail: Unexpected IllegalArgumentException - " + in + "[" + tzid in TestSkippedWallTime() [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cdateintervalformattest.c | 53 const char * tzid; member 108 const char * tzidForLog = (testItemPtr->tzid)? testItemPtr->tzid: "NULL"; in TestDateIntervalFormat() 112 if ( testItemPtr->tzid ) { in TestDateIntervalFormat() 113 u_unescape(testItemPtr->tzid, tzidBuf, kTZIDBufLen); in TestDateIntervalFormat() 145 log_err("ERROR: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: expect %s, get %s\n", in TestDateIntervalFormat() 150 log_err("FAIL: udtitvfmt_format for locale %s, skeleton %s, tzid %s, from %.1f, to %.1f: %s\n", in TestDateIntervalFormat() 155 log_data_err("FAIL: udtitvfmt_open for locale %s, skeleton %s, tzid %s - %s\n", in TestDateIntervalFormat()
|