Lines Matching refs:tzid
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()
267 TimeZone::getCanonicalID(*tzid, canonical, status); in TestTimeZoneRoundTrip()
270 errln((UnicodeString)"Unknown ID " + *tzid); in TestTimeZoneRoundTrip()
277 … logln((UnicodeString)"Canonical round trip failed (as expected); tz=" + *tzid in TestTimeZoneRoundTrip()
282 errln((UnicodeString)"Canonical round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip()
326 errln((UnicodeString)"Offset round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip()
334 errln((UnicodeString)"Raw offset round trip failed; tz=" + *tzid in TestTimeZoneRoundTrip()
583 const UnicodeString *tzid; in RunTimeRoundTripTests() local
587 while ((tzid = tzids->snext(status))) { in RunTimeRoundTripTests()
592 const UChar* shortZoneID = ZoneMeta::getShortID(*tzid); in RunTimeRoundTripTests()
600 if (tzid->indexOf((UChar)0x2F) < 0 || tzid->indexOf(ETC_SLASH, -1, 0) >= 0 in RunTimeRoundTripTests()
601 … || tzid->indexOf(SYSTEMV_SLASH, -1, 0) >= 0 || tzid->indexOf(RIYADH8, -1, 0) >= 0) { in RunTimeRoundTripTests()
606 … if ((*tzid == "Pacific/Apia" || *tzid == "Pacific/Midway" || *tzid == "Pacific/Pago_Pago") in RunTimeRoundTripTests()
612 BasicTimeZone *tz = (BasicTimeZone*) TimeZone::createTimeZone(*tzid); in RunTimeRoundTripTests()
671 …errln((UnicodeString) "Parse failure for text=" + text + ", tzid=" + *tzid + ", locale=" + gLocale… in RunTimeRoundTripTests()
681 … UnicodeString msg = (UnicodeString) "Time round trip failed for " + "tzid=" + *tzid in RunTimeRoundTripTests()
686 … && !isSpecialTimeRoundTripCase(gLocaleData->locales[locidx].getName(), *tzid, in RunTimeRoundTripTests()
1061 const char* tzid; member
1151 LocalPointer<TimeZone> tz(TimeZone::createTimeZone(DATA[i].tzid)); in TestFormat()
1159 …assertEquals(UnicodeString("Format result for ") + DATA[i].tzid + " (Test Case " + i + ")", expect… in TestFormat()
1248 LocalPointer<TimeZone> tz(TimeZone::createTimeZone(DATA[i].tzid)); in TestFormatTZDBNames()
1256 …assertEquals(UnicodeString("Format result for ") + DATA[i].tzid + " (Test Case " + i + ")", expect… in TestFormatTZDBNames()
1284 UnicodeString tzid = UnicodeString(id, -1, US_INV).unescape(); in TestFormatCustomZone() local
1285 SimpleTimeZone tz(TESTDATA[i].offset, tzid); in TestFormatCustomZone()
1297 assertEquals(UnicodeString("Format result for ") + tzid, expected, tzstr); in TestFormatCustomZone()
1309 const UnicodeString *tzid; in TestFormatTZDBNamesAllZoneCoverage() local
1314 while ((tzid = tzids->snext(status))) { in TestFormatTZDBNamesAllZoneCoverage()
1315 logln("Zone: " + *tzid); in TestFormatTZDBNamesAllZoneCoverage()
1316 LocalPointer<TimeZone> tz(TimeZone::createTimeZone(*tzid)); in TestFormatTZDBNamesAllZoneCoverage()
1317 tzdbNames->getMetaZoneID(*tzid, now, mzId); in TestFormatTZDBNamesAllZoneCoverage()