HomeSort by relevance Sort by last modified time
    Searched refs:tz1 (Results 1 - 16 of 16) sorted by null

  /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 25 TimeZone tz1 = TimeZone.getTimeZone("PST"); local
28 testEHCS(tz1, tz2, tzn);
206 TimeZone tz1 = TimeZone.getDefault(); local
207 String newCode = "PDT".equals(tz1.getID()) ? "CST" : "PDT";
211 assertNotEqual(tz1, result);
219 TimeZone tz1 = TimeZone.getTimeZone("PST"); local
221 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/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
TimeZoneRuleTest.java     [all...]
TimeZoneRegressionTest.java 447 // tz1 and tz2 have no DST and different rule parameters
448 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); local
455 if (tz1.useDaylightTime() || tz2.useDaylightTime() ||
463 if (!tz1.hasSameRules(tz2)) {
465 errln("zone 1 = " + tz1);
    [all...]
TimeZoneTest.java 1438 SimpleTimeZone tz1 = new SimpleTimeZone( local
1858 TimeZone tz1 = TimeZone.getTimeZone(id); local
    [all...]
  /external/icu/icu4c/source/test/intltest/
tztest.cpp 1000 TimeZone *tz1 = TimeZone::createTimeZone(zone1); local
1773 TimeZone* tz1 = TimeZone::createTimeZone(*id1); local
    [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...]
incaltst.cpp 163 int32_t tz1 = cal.get(UCAL_ZONE_OFFSET,status); local
165 if(tz1 != tz2) {
166 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2);
    [all...]
tzrulets.cpp 52 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2,
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
TimeZoneRuleTest.java     [all...]
TimeZoneRegressionTest.java 444 // tz1 and tz2 have no DST and different rule parameters
445 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); local
452 if (tz1.useDaylightTime() || tz2.useDaylightTime() ||
460 if (!tz1.hasSameRules(tz2)) {
462 errln("zone 1 = " + tz1);
    [all...]
TimeZoneTest.java 1435 SimpleTimeZone tz1 = new SimpleTimeZone( local
1855 TimeZone tz1 = TimeZone.getTimeZone(id); local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
TimeZoneFormatTest.java 699 TimeZone tz1 = fmt.parse("America\/Los_Angeles"); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
TimeZoneFormatTest.java 696 TimeZone tz1 = fmt.parse("America\/Los_Angeles"); local
    [all...]
  /external/python/cpython3/Lib/test/
datetimetester.py 138 tz1 = _TZInfo()
139 dt1 = datetime(2014, 7, 21, 11, 32, 3, 0, tz1)
    [all...]

Completed in 1275 milliseconds