Lines Matching refs:tzid
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()
680 errln((UnicodeString)"FAIL: complete() failed for the RBTZ for " + *tzid); in TestRBTZTransition()
788 const UnicodeString *tzid = tzenum.snext(status); in TestVTimeZoneRoundTrip() local
789 if (tzid == NULL) { in TestVTimeZoneRoundTrip()
796 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestVTimeZoneRoundTrip()
797 VTimeZone *vtz_org = VTimeZone::createVTimeZoneByID(*tzid); in TestVTimeZoneRoundTrip()
806 *tzid + " into VTIMEZONE format."); in TestVTimeZoneRoundTrip()
811 … errln((UnicodeString)"FAIL: error returned while reading VTIMEZONE data for " + *tzid); in TestVTimeZoneRoundTrip()
818 *tzid + "(vtz_new) into VTIMEZONE format."); in TestVTimeZoneRoundTrip()
822 … errln((UnicodeString)"FAIL: different VTIMEZONE data after round trip for " + *tzid); in TestVTimeZoneRoundTrip()
836 errln("FAIL: VTimeZone for " + *tzid + in TestVTimeZoneRoundTrip()
848 errln("FAIL: VTimeZone for " + *tzid + in TestVTimeZoneRoundTrip()
851 logln("VTimeZone for " + *tzid + in TestVTimeZoneRoundTrip()
888 const UnicodeString *tzid = tzenum.snext(status); in TestVTimeZoneRoundTripPartial() local
889 if (tzid == NULL) { in TestVTimeZoneRoundTripPartial()
896 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestVTimeZoneRoundTripPartial()
897 VTimeZone *vtz_org = VTimeZone::createVTimeZoneByID(*tzid); in TestVTimeZoneRoundTripPartial()
907 *tzid + " into VTIMEZONE format since " + dateToString(startTime)); in TestVTimeZoneRoundTripPartial()
912 … errln((UnicodeString)"FAIL: error returned while reading VTIMEZONE data for " + *tzid in TestVTimeZoneRoundTripPartial()
926 errln("FAIL: VTimeZone for " + *tzid + in TestVTimeZoneRoundTripPartial()
938 errln("FAIL: VTimeZone for " + *tzid + in TestVTimeZoneRoundTripPartial()
941 logln("VTimeZone for " + *tzid + in TestVTimeZoneRoundTripPartial()
984 const UnicodeString *tzid = tzenum.snext(status); in TestVTimeZoneSimpleWrite() local
985 if (tzid == NULL) { in TestVTimeZoneSimpleWrite()
992 VTimeZone *vtz_org = VTimeZone::createVTimeZoneByID(*tzid); in TestVTimeZoneSimpleWrite()
1002 *tzid + " into VTIMEZONE format at " + dateToString(time)); in TestVTimeZoneSimpleWrite()
1007 … errln((UnicodeString)"FAIL: error returned while reading simple VTIMEZONE data for " + *tzid in TestVTimeZoneSimpleWrite()
1017 errln("FAIL: VTimeZone writeSimple for " + *tzid + " at " in TestVTimeZoneSimpleWrite()
1124 const UnicodeString *tzid = tzenum.snext(status); in TestGetSimpleRules() local
1125 if (tzid == NULL) { in TestGetSimpleRules()
1132 BasicTimeZone *tz = (BasicTimeZone*)TimeZone::createTimeZone(*tzid); in TestGetSimpleRules()
1168 RuleBasedTimeZone *rbtz = new RuleBasedTimeZone(*tzid, initial); in TestGetSimpleRules()
1181 errln("FAIL: couldn't complete rbtz for " + *tzid); in TestGetSimpleRules()
1187 errln("FAIL: couldn't get offsets from tz for " + *tzid); in TestGetSimpleRules()
1191 errln("FAIL: couldn't get offsets from rbtz for " + *tzid); in TestGetSimpleRules()
1194 … errln("FAIL: rbtz created by simple rule does not match the original tz for tzid " + *tzid); in TestGetSimpleRules()
1873 UnicodeString tzid; in TestVTimeZoneParse() local
1874 tokyo->getID(tzid); in TestVTimeZoneParse()
1875 if (tzid != asiaTokyoID) { in TestVTimeZoneParse()
1876 errln((UnicodeString)"FAIL: Invalid TZID: " + tzid); in TestVTimeZoneParse()
2340 UnicodeString tzid; in verifyTransitions() local
2362 + icutz.getID(tzid) + " at " + dateToString(time)); in verifyTransitions()
2368 + dateToString(time) + " for " + icutz.getID(tzid)); in verifyTransitions()
2395 + icutz.getID(tzid) + " at " + dateToString(time)); in verifyTransitions()
2402 + dateToString(time) + " for " + icutz.getID(tzid)); in verifyTransitions()