/libcore/luni/src/test/java/libcore/java/util/ |
OldTimeZoneTest.java | 61 TimeZone tz2 = (TimeZone)tz1.clone(); local 63 assertTrue(tz1.equals(tz2)); 149 TimeZone tz2 = TimeZone.getTimeZone("America/Phoenix"); local 150 assertEquals(tz1.getDisplayName(false, 0), tz2.getDisplayName(false, 0)); 152 assertFalse(tz1.hasSameRules(tz2)); 155 tz2 = TimeZone.getTimeZone("US/Eastern"); 156 assertEquals(tz1.getDisplayName(), tz2.getDisplayName()); 157 assertFalse(tz1.getID().equals(tz2.getID())); 158 assertTrue(tz2.hasSameRules(tz1));
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
tztest.cpp | 1000 TimeZone *tz2 = TimeZone::createTimeZone(zone2); local 1756 TimeZone* tz2 = TimeZone::createTimeZone(*id2); local [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...] |
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...] |
tzrulets.cpp | 51 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2, [all...] |
/external/icu/icu4c/source/test/intltest/ |
tztest.cpp | 991 TimeZone *tz2 = TimeZone::createTimeZone(zone2); local 1747 TimeZone* tz2 = TimeZone::createTimeZone(*id2); local [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...] |
incaltst.cpp | 162 int32_t tz2 = grego -> get (UCAL_ZONE_OFFSET, status); local 163 if(tz1 != tz2) { 164 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2); [all...] |
tzrulets.cpp | 49 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2, [all...] |