Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
DTimeZoneRuleTest.java399 TimeZone newyork = TimeZone.getTimeZone("America/New_York", TimeZone.TIMEZONE_ICU); in TestHasEquivalentTransitions() local
409 if (((BasicTimeZone)newyork).hasEquivalentTransitions(indianapolis, jan1_2005, jan1_2011)) { in TestHasEquivalentTransitions()
412 … if (!((BasicTimeZone)newyork).hasEquivalentTransitions(indianapolis, jan1_2006, jan1_2011)) { in TestHasEquivalentTransitions()
424 TimeZone newyork2 = (TimeZone)newyork.clone(); in TestHasEquivalentTransitions()
425 if (!((BasicTimeZone)newyork).hasEquivalentTransitions(newyork2, jan1_1971, jan1_2011)) { in TestHasEquivalentTransitions()
428 …if (!((BasicTimeZone)newyork).hasEquivalentTransitions(newyork2, jan1_1971, jan1_2011, true /*igno… in TestHasEquivalentTransitions()
435 if (((BasicTimeZone)newyork).hasEquivalentTransitions(losangeles, jan1_2006, jan1_2011)) { in TestHasEquivalentTransitions()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java397 TimeZone newyork = TimeZone.getTimeZone("America/New_York", TimeZone.TIMEZONE_ICU); in TestHasEquivalentTransitions() local
407 if (((BasicTimeZone)newyork).hasEquivalentTransitions(indianapolis, jan1_2005, jan1_2011)) { in TestHasEquivalentTransitions()
410 … if (!((BasicTimeZone)newyork).hasEquivalentTransitions(indianapolis, jan1_2006, jan1_2011)) { in TestHasEquivalentTransitions()
422 TimeZone newyork2 = (TimeZone)newyork.clone(); in TestHasEquivalentTransitions()
423 if (!((BasicTimeZone)newyork).hasEquivalentTransitions(newyork2, jan1_1971, jan1_2011)) { in TestHasEquivalentTransitions()
426 …if (!((BasicTimeZone)newyork).hasEquivalentTransitions(newyork2, jan1_1971, jan1_2011, true /*igno… in TestHasEquivalentTransitions()
433 if (((BasicTimeZone)newyork).hasEquivalentTransitions(losangeles, jan1_2006, jan1_2011)) { in TestHasEquivalentTransitions()
/third_party/icu/icu4c/source/test/intltest/
Dtzrulets.cpp704 BasicTimeZone *newyork = (BasicTimeZone*)TimeZone::createTimeZone("America/New_York"); in TestHasEquivalentTransitions() local
714 if (newyork->hasEquivalentTransitions(*indianapolis, jan1_2005, jan1_2011, true, status)) { in TestHasEquivalentTransitions()
720 if (!newyork->hasEquivalentTransitions(*indianapolis, jan1_2006, jan1_2011, true, status)) { in TestHasEquivalentTransitions()
741 BasicTimeZone *newyork2 = newyork->clone(); in TestHasEquivalentTransitions()
742 if (!newyork->hasEquivalentTransitions(*newyork2, jan1_1971, jan1_2011, false, status)) { in TestHasEquivalentTransitions()
748 if (!newyork->hasEquivalentTransitions(*newyork2, jan1_1971, jan1_2011, true, status)) { in TestHasEquivalentTransitions()
758 if (newyork->hasEquivalentTransitions(*losangeles, jan1_2006, jan1_2011, true, status)) { in TestHasEquivalentTransitions()
765 delete newyork; in TestHasEquivalentTransitions()