Home
last modified time | relevance | path

Searched refs:vtz_new (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp797 VTimeZone *vtz_new = NULL; in TestVTimeZoneRoundTrip() local
806 vtz_new = VTimeZone::createVTimeZone(vtzdata, status); in TestVTimeZoneRoundTrip()
812 vtz_new->write(vtzdata1, status); in TestVTimeZoneRoundTrip()
828 vtz_new->getOffset(startTime, FALSE, raw2, dst2, status); in TestVTimeZoneRoundTrip()
840 if (!vtz_new->hasEquivalentTransitions(*tz, trans.getTime(), in TestVTimeZoneRoundTrip()
843 if (!hasEquivalentTransitions(*vtz_new, *tz, trans.getTime() + maxDelta, in TestVTimeZoneRoundTrip()
858 if (vtz_new != NULL) { in TestVTimeZoneRoundTrip()
859 delete vtz_new; in TestVTimeZoneRoundTrip()
860 vtz_new = NULL; in TestVTimeZoneRoundTrip()
895 VTimeZone *vtz_new = NULL; in TestVTimeZoneRoundTripPartial() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java447 VTimeZone vtz_new = null; in TestVTimeZoneRoundTrip() local
458 vtz_new = VTimeZone.create(reader); in TestVTimeZoneRoundTrip()
464 vtz_new.write(writer1); in TestVTimeZoneRoundTrip()
485 if (vtz_new.getOffset(startTime) != olsontz.getOffset(startTime)) { in TestVTimeZoneRoundTrip()
491 if (!vtz_new.hasEquivalentTransitions(olsontz, tzt.getTime(), endTime, true)) { in TestVTimeZoneRoundTrip()
493 …if (!hasEquivalentTransitions(vtz_new, olsontz, tzt.getTime() + maxDelta, endTime, true, maxDelta)… in TestVTimeZoneRoundTrip()
499 if (!vtz_new.hasEquivalentTransitions(olsontz, tzt.getTime(), endTime, false)) { in TestVTimeZoneRoundTrip()
524 VTimeZone vtz_new = null; in TestVTimeZoneRoundTripPartial() local
535 vtz_new = VTimeZone.create(reader); in TestVTimeZoneRoundTripPartial()
545 if (vtz_new.getOffset(startTime) != olsontz.getOffset(startTime)) { in TestVTimeZoneRoundTripPartial()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java443 VTimeZone vtz_new = null; in TestVTimeZoneRoundTrip() local
454 vtz_new = VTimeZone.create(reader); in TestVTimeZoneRoundTrip()
460 vtz_new.write(writer1); in TestVTimeZoneRoundTrip()
481 if (vtz_new.getOffset(startTime) != olsontz.getOffset(startTime)) { in TestVTimeZoneRoundTrip()
487 if (!vtz_new.hasEquivalentTransitions(olsontz, tzt.getTime(), endTime, true)) { in TestVTimeZoneRoundTrip()
489 …if (!hasEquivalentTransitions(vtz_new, olsontz, tzt.getTime() + maxDelta, endTime, true, maxDelta)… in TestVTimeZoneRoundTrip()
495 if (!vtz_new.hasEquivalentTransitions(olsontz, tzt.getTime(), endTime, false)) { in TestVTimeZoneRoundTrip()
520 VTimeZone vtz_new = null; in TestVTimeZoneRoundTripPartial() local
531 vtz_new = VTimeZone.create(reader); in TestVTimeZoneRoundTripPartial()
541 if (vtz_new.getOffset(startTime) != olsontz.getOffset(startTime)) { in TestVTimeZoneRoundTripPartial()
[all …]