• Home
  • Raw
  • Download

Lines Matching refs:tzid

180             const UnicodeString *tzid;  in TestTimeZoneRoundTrip()  local
181 while ((tzid = tzids->snext(status))) { in TestTimeZoneRoundTrip()
182 TimeZone *tz = TimeZone::createTimeZone(*tzid); in TestTimeZoneRoundTrip()
216 errln((UnicodeString)"Failed to get offsets from time zone" + *tzid); in TestTimeZoneRoundTrip()
228 TimeZone::getCanonicalID(*tzid, canonicalID, status); in TestTimeZoneRoundTrip()
231 errln((UnicodeString)"Unknown ID " + *tzid); in TestTimeZoneRoundTrip()
237 … logln((UnicodeString)"Canonical round trip failed (probably as expected); tz=" + *tzid in TestTimeZoneRoundTrip()
242 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip()
250 if (outtzid != *tzid) { in TestTimeZoneRoundTrip()
251 errln((UnicodeString)"Zone ID round trip failued; tz=" + *tzid in TestTimeZoneRoundTrip()
261 TimeZone::getCanonicalID(*tzid, canonical, status); in TestTimeZoneRoundTrip()
264 errln((UnicodeString)"Unknown ID " + *tzid); in TestTimeZoneRoundTrip()
271 … logln((UnicodeString)"Canonical round trip failed (as expected); tz=" + *tzid in TestTimeZoneRoundTrip()
276 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip()
317 errln((UnicodeString)"Offset round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip()
325 errln((UnicodeString)"Raw offset round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip()
574 const UnicodeString *tzid; in RunTimeRoundTripTests() local
578 while ((tzid = tzids->snext(status))) { in RunTimeRoundTripTests()
583 const UChar* shortZoneID = ZoneMeta::getShortID(*tzid); in RunTimeRoundTripTests()
591 if (tzid->indexOf((UChar)0x2F) < 0 || tzid->indexOf(ETC_SLASH, -1, 0) >= 0 in RunTimeRoundTripTests()
592 … || tzid->indexOf(SYSTEMV_SLASH, -1, 0) >= 0 || tzid->indexOf(RIYADH8, -1, 0) >= 0) { in RunTimeRoundTripTests()
597 if (*tzid == "Pacific/Apia" && uprv_strcmp(PATTERNS[patidx], "vvvv") == 0 in RunTimeRoundTripTests()
602 BasicTimeZone *tz = (BasicTimeZone*) TimeZone::createTimeZone(*tzid); in RunTimeRoundTripTests()
661 …errln((UnicodeString) "Parse failure for text=" + text + ", tzid=" + *tzid + ", locale=" + gLocale… in RunTimeRoundTripTests()
671 … UnicodeString msg = (UnicodeString) "Time round trip failed for " + "tzid=" + *tzid in RunTimeRoundTripTests()
676 … && !isSpecialTimeRoundTripCase(gLocaleData->locales[locidx].getName(), *tzid, in RunTimeRoundTripTests()
1013 const char* tzid; member
1103 LocalPointer<TimeZone> tz(TimeZone::createTimeZone(DATA[i].tzid)); in TestFormat()
1111 …assertEquals(UnicodeString("Format result for ") + DATA[i].tzid + " (Test Case " + i + ")", expect… in TestFormat()
1200 LocalPointer<TimeZone> tz(TimeZone::createTimeZone(DATA[i].tzid)); in TestFormatTZDBNames()
1208 …assertEquals(UnicodeString("Format result for ") + DATA[i].tzid + " (Test Case " + i + ")", expect… in TestFormatTZDBNames()