Home
last modified time | relevance | path

Searched refs:tz2 (Results 1 – 19 of 19) sorted by relevance

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DTimeZoneTest.java26 TimeZone tz2 = TimeZone.getTimeZone("PST"); in testHashCode() local
28 testEHCS(tz1, tz2, tzn); in testHashCode()
208 TimeZone tz2 = TimeZone.getTimeZone(newCode); in testSetDefault() local
209 TimeZone.setDefault(tz2); in testSetDefault()
212 assertEquals(tz2, result); in testSetDefault()
220 TimeZone tz2 = TimeZone.getTimeZone("America/Los_Angeles"); in testHasSameRules() local
221 assertTrue(tz1.hasSameRules(tz2)); in testHasSameRules()
/external/python/dateutil/dateutil/test/
Dtest_internals.py92 tz2 = tz.tzstr("EST5EDT,4,1,0,7200,10,-1,0,7200")
94 assert tz1._start_delta != tz2._start_delta
95 assert tz1._end_delta != tz2._end_delta
Dtest_tz.py729 tz2 = tz.tzoffset.instance('EST', timedelta(hours=-5))
731 assert tz1 is not tz2
735 tz2 = tz.tzoffset('EST', -18000)
737 assert tz1 is tz2
770 tz2 = tz.tzoffset(*args)
772 assert tz1 is tz2
797 tz2 = tz.tzlocal()
800 self.assertTrue(tz1 == tz2)
801 self.assertFalse(tz1 != tz2)
1460 tz2 = tz.tzstr('CST4CST')
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java1554 …private void compareTransitionsAscending(TimeZone tz1, TimeZone tz2, long start, long end, boolean… in compareTransitionsAscending() argument
1556 BasicTimeZone z2 = (BasicTimeZone)tz2; in compareTransitionsAscending()
1558 String zid2 = tz2.getID(); in compareTransitionsAscending()
1604 …private void compareTransitionsDescending(TimeZone tz1, TimeZone tz2, long start, long end, boolea… in compareTransitionsDescending() argument
1606 BasicTimeZone z2 = (BasicTimeZone)tz2; in compareTransitionsDescending()
1608 String zid2 = tz2.getID(); in compareTransitionsDescending()
1715 private static boolean hasEquivalentTransitions(BasicTimeZone tz1, BasicTimeZone tz2, in hasEquivalentTransitions() argument
1718 if (tz1.hasSameRules(tz2)) { in hasEquivalentTransitions()
1727 tz2.getOffset(start, false, offsets2); in hasEquivalentTransitions()
1745 TimeZoneTransition tr2 = tz2.getNextTransition(time, false); in hasEquivalentTransitions()
[all …]
DTimeZoneRegressionTest.java446 SimpleTimeZone tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0); in Test4154537() local
452 if (tz1.useDaylightTime() || tz2.useDaylightTime() || in Test4154537()
460 if (!tz1.hasSameRules(tz2)) { in Test4154537()
463 errln("zone 2 = " + tz2); in Test4154537()
DTimeZoneTest.java1443 SimpleTimeZone tz2= new SimpleTimeZone( in TestFebruary() local
1480 TimeZone timezones[] = { tz1, tz2 }; in TestFebruary()
1858 TimeZone tz2 = TimeZone.getTimeZone(id); in TestHashCode() local
1861 if (tz1.hashCode() != tz2.hashCode()) { in TestHashCode()
1865 if (!tz1.toString().equals(tz2.toString())) { in TestHashCode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java1557 …private void compareTransitionsAscending(TimeZone tz1, TimeZone tz2, long start, long end, boolean… in compareTransitionsAscending() argument
1559 BasicTimeZone z2 = (BasicTimeZone)tz2; in compareTransitionsAscending()
1561 String zid2 = tz2.getID(); in compareTransitionsAscending()
1607 …private void compareTransitionsDescending(TimeZone tz1, TimeZone tz2, long start, long end, boolea… in compareTransitionsDescending() argument
1609 BasicTimeZone z2 = (BasicTimeZone)tz2; in compareTransitionsDescending()
1611 String zid2 = tz2.getID(); in compareTransitionsDescending()
1718 private static boolean hasEquivalentTransitions(BasicTimeZone tz1, BasicTimeZone tz2, in hasEquivalentTransitions() argument
1721 if (tz1.hasSameRules(tz2)) { in hasEquivalentTransitions()
1730 tz2.getOffset(start, false, offsets2); in hasEquivalentTransitions()
1748 TimeZoneTransition tr2 = tz2.getNextTransition(time, false); in hasEquivalentTransitions()
[all …]
DTimeZoneRegressionTest.java449 SimpleTimeZone tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0); in Test4154537() local
455 if (tz1.useDaylightTime() || tz2.useDaylightTime() || in Test4154537()
463 if (!tz1.hasSameRules(tz2)) { in Test4154537()
466 errln("zone 2 = " + tz2); in Test4154537()
DTimeZoneTest.java1446 SimpleTimeZone tz2= new SimpleTimeZone( in TestFebruary() local
1483 TimeZone timezones[] = { tz1, tz2 }; in TestFebruary()
1861 TimeZone tz2 = TimeZone.getTimeZone(id); in TestHashCode() local
1864 if (tz1.hashCode() != tz2.hashCode()) { in TestHashCode()
1868 if (!tz1.toString().equals(tz2.toString())) { in TestHashCode()
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp1003 TimeZone *tz2 = TimeZone::createTimeZone(zone2); in TestShortZoneIDs() local
1008 if (!tz2) { in TestShortZoneIDs()
1012 if (tz1 && tz2) { in TestShortZoneIDs()
1014 tz2->setID(tz1->getID(itsID)); in TestShortZoneIDs()
1016 if (*tz1 != *tz2) { in TestShortZoneIDs()
1026 delete tz2; in TestShortZoneIDs()
1781 TimeZone* tz2 = TimeZone::createTimeZone(*id2); in TestCountries() local
1782 if(tz1->hasSameRules(*tz2)){ in TestCountries()
1785 delete tz2; in TestCountries()
1893 SimpleTimeZone tz2(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary() local
[all …]
Dtzregts.cpp557 SimpleTimeZone *tz2 = new SimpleTimeZone(0, "2", 1, 0, 0, 0, 3, 0, 0, 0, status); in Test4154537() local
567 if (tz1->useDaylightTime() || tz2->useDaylightTime() || in Test4154537()
575 if (!tz1->hasSameRules(*tz2)) { in Test4154537()
582 delete tz2; in Test4154537()
Dincaltst.cpp168 int32_t tz2 = grego -> get (UCAL_ZONE_OFFSET, status); in quasiGregorianTest() local
169 if(tz1 != tz2) { in quasiGregorianTest()
170 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2); in quasiGregorianTest()
Dtzrulets.cpp52 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2,
2526 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2, in hasEquivalentTransitions() argument
2533 if (tz1.hasSameRules(tz2)) { in hasEquivalentTransitions()
2542 tz2.getOffset(start, FALSE, raw2, dst2, status); in hasEquivalentTransitions()
2562 UBool avail2 = tz2.getNextTransition(time, FALSE, tr2); in hasEquivalentTransitions()
2583 tz2.getNextTransition(tr2.getTime(), FALSE, tr2); in hasEquivalentTransitions()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java712 TimeZone tz2 = fmt.parse("++America/Los_Angeles", new ParsePosition(2)); in TestParseCoverage() local
713 if (tz2 == null) { in TestParseCoverage()
716 } else if (!expectedTZ.equals(tz2)) { in TestParseCoverage()
717 … errln("Parsed TimeZone: '" + tz2.getID() + "' using parse(String, ParsePosition) - expected: " in TestParseCoverage()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java709 TimeZone tz2 = fmt.parse("++America/Los_Angeles", new ParsePosition(2)); in TestParseCoverage() local
710 if (tz2 == null) { in TestParseCoverage()
713 } else if (!expectedTZ.equals(tz2)) { in TestParseCoverage()
714 … errln("Parsed TimeZone: '" + tz2.getID() + "' using parse(String, ParsePosition) - expected: " in TestParseCoverage()
/external/python/dateutil/docs/
Dexamples.rst1315 >>> tz2 = tzstr('AEST-10AEDT-11,M10.5.0,M3.5.0')
1319 >>> dt.astimezone(tz2).strftime('%X %x %Z')
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dpr17168.ll97 !37 = !DIGlobalVariable(name: "tz2", scope: null, file: !2, line: 31, type: !13, isLocal: true, isD…
/external/llvm/test/CodeGen/PowerPC/
Dpr17168.ll373 !317 = !DIGlobalVariable(name: "tz2", line: 31, isLocal: true, isDefinition: true, scope: null, fil…
/external/hyphenation-patterns/en-GB/
Dhyph-en-gb.pat.txt7741 2tz2