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

  /libcore/luni/src/test/java/libcore/java/util/
OldTimeZoneTest.java 60 TimeZone tz1 = TimeZone.getDefault(); local
61 TimeZone tz2 = (TimeZone)tz1.clone();
63 assertTrue(tz1.equals(tz2));
127 TimeZone tz1 = TimeZone.getTimeZone("America/Denver"); local
129 assertEquals(tz1.getDisplayName(false, 0), tz2.getDisplayName(false, 0));
131 assertFalse(tz1.hasSameRules(tz2));
132 assertFalse(tz1.hasSameRules(null));
133 tz1 = TimeZone.getTimeZone("America/New_York");
135 assertEquals(tz1.getDisplayName(), tz2.getDisplayName());
136 assertFalse(tz1.getID().equals(tz2.getID()))
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/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/chromium_org/third_party/icu/source/test/intltest/
incaltst.cpp 164 int32_t tz1 = cal.get(UCAL_ZONE_OFFSET,status); local
166 if(tz1 != tz2) {
167 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2);
tztest.cpp 784 TimeZone *tz1 = TimeZone::createTimeZone(zone1); variable
787 if (!tz1) {
794 if (tz1 && tz2) {
796 tz2->setID(tz1->getID(itsID));
798 if (*tz1 != *tz2) {
807 delete tz1;
    [all...]
tzregts.cpp 549 // tz1 and tz2 have no DST and different rule parameters
550 SimpleTimeZone *tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0, status); local
561 if (tz1->useDaylightTime() || tz2->useDaylightTime() ||
569 if (!tz1->hasSameRules(*tz2)) {
571 //errln("zone 1 = " + tz1);
575 delete tz1;
    [all...]
  /external/icu4c/test/intltest/
incaltst.cpp 164 int32_t tz1 = cal.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
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 997 TimeZone *tz1 = TimeZone::createTimeZone(zone1); local
1748 TimeZone* tz1 = TimeZone::createTimeZone(*id1); local
    [all...]

Completed in 3499 milliseconds