/libcore/luni/src/test/java/libcore/java/util/ |
OldTimeZoneTest.java | 59 TimeZone tz1 = TimeZone.getDefault(); local 60 TimeZone tz2 = (TimeZone)tz1.clone(); 62 assertTrue(tz1.equals(tz2)); 134 TimeZone tz1 = TimeZone.getTimeZone("America/Denver"); local 136 assertEquals(tz1.getDisplayName(false, 0), tz2.getDisplayName(false, 0)); 138 assertFalse(tz1.hasSameRules(tz2)); 139 assertFalse(tz1.hasSameRules(null)); 140 tz1 = TimeZone.getTimeZone("America/New_York"); 142 assertEquals(tz1.getDisplayName(), tz2.getDisplayName()); 143 assertFalse(tz1.getID().equals(tz2.getID())) [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
TimeZoneTest.java | 23 TimeZone tz1 = TimeZone.getTimeZone("PST"); local 26 testEHCS(tz1, tz2, tzn); 204 TimeZone tz1 = TimeZone.getDefault(); local 205 String newCode = "PDT".equals(tz1.getID()) ? "CST" : "PDT"; 209 assertNotEqual(tz1, result); 217 TimeZone tz1 = TimeZone.getTimeZone("PST"); local 219 assertTrue(tz1.hasSameRules(tz2));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TimeZoneTest.java | 61 TimeZone tz1 = new Support_TimeZone(-5 * ONE_HOUR, true); local 63 ONE_HOUR, tz1.getDSTSavings()); 66 tz1 = new Support_TimeZone(3 * ONE_HOUR, false); 68 0, tz1.getDSTSavings()); 91 TimeZone tz1 = new Support_TimeZone(-5 * ONE_HOUR, true); local 93 -(5 * ONE_HOUR), tz1.getOffset(time1)); 95 -(4 * ONE_HOUR), tz1.getOffset(time2)); 98 tz1 = new Support_TimeZone(3 * ONE_HOUR, false); 100 (3 * ONE_HOUR), tz1.getOffset(time1)); 102 (3 * ONE_HOUR), tz1.getOffset(time2)) [all...] |
/external/icu/icu4c/source/test/intltest/ |
incaltst.cpp | 161 int32_t tz1 = cal.get(UCAL_ZONE_OFFSET,status); local 163 if(tz1 != tz2) { 164 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2); [all...] |
tzregts.cpp | 553 // tz1 and tz2 have no DST and different rule parameters 554 SimpleTimeZone *tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0, status); local 565 if (tz1->useDaylightTime() || tz2->useDaylightTime() || 573 if (!tz1->hasSameRules(*tz2)) { 575 //errln("zone 1 = " + tz1); 579 delete tz1; [all...] |
tztest.cpp | 995 TimeZone *tz1 = TimeZone::createTimeZone(zone1); local 1746 TimeZone* tz1 = TimeZone::createTimeZone(*id1); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
TimeZoneFormatTest.java | 675 TimeZone tz1 = fmt.parse("America\/Los_Angeles"); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
TimeZoneFormatTest.java | 671 TimeZone tz1 = fmt.parse("America\/Los_Angeles"); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneRegression.java | 435 // tz1 and tz2 have no DST and different rule parameters 436 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); local 443 if (tz1.useDaylightTime() || tz2.useDaylightTime() || 451 if (!tz1.hasSameRules(tz2)) { 453 errln("zone 1 = " + tz1); [all...] |
TimeZoneRuleTest.java | [all...] |
TimeZoneTest.java | 1416 SimpleTimeZone tz1 = new SimpleTimeZone( local 1832 TimeZone tz1 = TimeZone.getTimeZone(id); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneRegression.java | 431 // tz1 and tz2 have no DST and different rule parameters 432 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); local 439 if (tz1.useDaylightTime() || tz2.useDaylightTime() || 447 if (!tz1.hasSameRules(tz2)) { 449 errln("zone 1 = " + tz1); [all...] |
TimeZoneRuleTest.java | [all...] |
TimeZoneTest.java | 1412 SimpleTimeZone tz1 = new SimpleTimeZone( local 1828 TimeZone tz1 = TimeZone.getTimeZone(id); local [all...] |
/prebuilts/tools/common/m2/repository/net/sourceforge/saxon/saxon/9.1.0.8/ |
saxon-9.1.0.8.jar | |