/libcore/luni/src/test/java/libcore/java/util/ |
OldTimeZoneTest.java | 61 TimeZone tz2 = (TimeZone)tz1.clone(); local 63 assertTrue(tz1.equals(tz2)); 128 TimeZone tz2 = TimeZone.getTimeZone("America/Phoenix"); local 129 assertEquals(tz1.getDisplayName(false, 0), tz2.getDisplayName(false, 0)); 131 assertFalse(tz1.hasSameRules(tz2)); 134 tz2 = TimeZone.getTimeZone("US/Eastern"); 135 assertEquals(tz1.getDisplayName(), tz2.getDisplayName()); 136 assertFalse(tz1.getID().equals(tz2.getID())); 137 assertTrue(tz2.hasSameRules(tz1));
|
/external/chromium_org/third_party/icu/source/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...] |
/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); [all...] |
tzregts.cpp | 553 // tz1 and tz2 have no DST and different rule parameters 555 SimpleTimeZone *tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0, status); local 565 if (tz1->useDaylightTime() || tz2->useDaylightTime() || 573 if (!tz1->hasSameRules(*tz2)) { 576 //errln("zone 2 = " + tz2); 580 delete tz2; [all...] |
tztest.cpp | 998 TimeZone *tz2 = TimeZone::createTimeZone(zone2); local 1754 TimeZone* tz2 = TimeZone::createTimeZone(*id2); local [all...] |