HomeSort by relevance Sort by last modified time
    Searched defs:tz2 (Results 1 - 4 of 4) sorted by null

  /libcore/luni/src/test/java/libcore/java/util/
OldTimeZoneTest.java 62 TimeZone tz2 = (TimeZone)tz1.clone(); local
64 assertTrue(tz1.equals(tz2));
134 TimeZone tz2 = TimeZone.getTimeZone("America/Phoenix"); local
135 assertEquals(tz1.getDisplayName(false, 0), tz2.getDisplayName(false, 0));
137 assertFalse(tz1.hasSameRules(tz2));
140 tz2 = TimeZone.getTimeZone("US/Eastern");
141 assertEquals(tz1.getDisplayName(), tz2.getDisplayName());
142 assertFalse(tz1.getID().equals(tz2.getID()));
143 assertTrue(tz2.hasSameRules(tz1));
  /external/icu4c/test/intltest/
incaltst.cpp 165 int32_t tz2 = grego -> get (UCAL_ZONE_OFFSET, status); local
166 if(tz1 != tz2) {
167 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2);
tztest.cpp 785 TimeZone *tz2 = TimeZone::createTimeZone(zone2); variable
790 if (!tz2) {
794 if (tz1 && tz2) {
796 tz2->setID(tz1->getID(itsID));
798 if (*tz1 != *tz2) {
808 delete tz2;
    [all...]
tzregts.cpp 549 // tz1 and tz2 have no DST and different rule parameters
551 SimpleTimeZone *tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0, status); local
561 if (tz1->useDaylightTime() || tz2->useDaylightTime() ||
569 if (!tz1->hasSameRules(*tz2)) {
572 //errln("zone 2 = " + tz2);
576 delete tz2;
    [all...]

Completed in 130 milliseconds