Home
last modified time | relevance | path

Searched refs:tz1 (Results 1 – 21 of 21) sorted by relevance

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DTimeZoneTest.java25 TimeZone tz1 = TimeZone.getTimeZone("PST"); in testHashCode() local
28 testEHCS(tz1, tz2, tzn); in testHashCode()
206 TimeZone tz1 = TimeZone.getDefault(); in testSetDefault() local
207 String newCode = "PDT".equals(tz1.getID()) ? "CST" : "PDT"; in testSetDefault()
211 assertNotEqual(tz1, result); in testSetDefault()
219 TimeZone tz1 = TimeZone.getTimeZone("PST"); in testHasSameRules() local
221 assertTrue(tz1.hasSameRules(tz2)); in testHasSameRules()
/external/python/dateutil/dateutil/test/
Dtest_internals.py89 tz1 = tz.tzstr("EST5EDT,5,4,0,7200,11,-3,0,7200")
94 assert tz1._start_delta != tz2._start_delta
95 assert tz1._end_delta != tz2._end_delta
Dtest_tz.py723 tz1 = tz.tzoffset.instance('EST', timedelta(hours=-5))
726 assert tz1 is not tz2
729 tz1 = tz.tzoffset('EST', timedelta(hours=-5))
732 assert tz1 is tz2
742 tz1 = tz.tzoffset(*args)
745 assert tz1 is tz2
750 tz1 = tz.tzlocal()
754 self.assertTrue(tz1 == tz2)
755 self.assertFalse(tz1 != tz2)
1348 tz1 = tz.tzstr('EST5EDT')
[all …]
/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
1558 BasicTimeZone z1 = (BasicTimeZone)tz1; in compareTransitionsAscending()
1560 String zid1 = tz1.getID(); in compareTransitionsAscending()
1607 …private void compareTransitionsDescending(TimeZone tz1, TimeZone tz2, long start, long end, boolea… in compareTransitionsDescending() argument
1608 BasicTimeZone z1 = (BasicTimeZone)tz1; in compareTransitionsDescending()
1610 String zid1 = tz1.getID(); in compareTransitionsDescending()
1718 private static boolean hasEquivalentTransitions(BasicTimeZone tz1, BasicTimeZone tz2, in hasEquivalentTransitions() argument
1721 if (tz1.hasSameRules(tz2)) { in hasEquivalentTransitions()
1729 tz1.getOffset(start, false, offsets1); in hasEquivalentTransitions()
1747 TimeZoneTransition tr1 = tz1.getNextTransition(time, false); in hasEquivalentTransitions()
[all …]
DTimeZoneRegressionTest.java448 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); in Test4154537() local
455 if (tz1.useDaylightTime() || tz2.useDaylightTime() || in Test4154537()
463 if (!tz1.hasSameRules(tz2)) { in Test4154537()
465 errln("zone 1 = " + tz1); in Test4154537()
DTimeZoneTest.java1433 SimpleTimeZone tz1 = new SimpleTimeZone( in TestFebruary() local
1481 TimeZone timezones[] = { tz1, tz2 }; in TestFebruary()
1853 TimeZone tz1 = TimeZone.getTimeZone(id); in TestHashCode() local
1857 if (tz1.hashCode() != tz2.hashCode()) { in TestHashCode()
1861 if (!tz1.toString().equals(tz2.toString())) { in TestHashCode()
/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
1555 BasicTimeZone z1 = (BasicTimeZone)tz1; in compareTransitionsAscending()
1557 String zid1 = tz1.getID(); in compareTransitionsAscending()
1604 …private void compareTransitionsDescending(TimeZone tz1, TimeZone tz2, long start, long end, boolea… in compareTransitionsDescending() argument
1605 BasicTimeZone z1 = (BasicTimeZone)tz1; in compareTransitionsDescending()
1607 String zid1 = tz1.getID(); in compareTransitionsDescending()
1715 private static boolean hasEquivalentTransitions(BasicTimeZone tz1, BasicTimeZone tz2, in hasEquivalentTransitions() argument
1718 if (tz1.hasSameRules(tz2)) { in hasEquivalentTransitions()
1726 tz1.getOffset(start, false, offsets1); in hasEquivalentTransitions()
1744 TimeZoneTransition tr1 = tz1.getNextTransition(time, false); in hasEquivalentTransitions()
[all …]
DTimeZoneRegressionTest.java445 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); in Test4154537() local
452 if (tz1.useDaylightTime() || tz2.useDaylightTime() || in Test4154537()
460 if (!tz1.hasSameRules(tz2)) { in Test4154537()
462 errln("zone 1 = " + tz1); in Test4154537()
DTimeZoneTest.java1430 SimpleTimeZone tz1 = new SimpleTimeZone( in TestFebruary() local
1478 TimeZone timezones[] = { tz1, tz2 }; in TestFebruary()
1850 TimeZone tz1 = TimeZone.getTimeZone(id); in TestHashCode() local
1854 if (tz1.hashCode() != tz2.hashCode()) { in TestHashCode()
1858 if (!tz1.toString().equals(tz2.toString())) { in TestHashCode()
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp1000 TimeZone *tz1 = TimeZone::createTimeZone(zone1); in TestShortZoneIDs() local
1003 if (!tz1) { in TestShortZoneIDs()
1010 if (tz1 && tz2) { in TestShortZoneIDs()
1012 tz2->setID(tz1->getID(itsID)); in TestShortZoneIDs()
1014 if (*tz1 != *tz2) { in TestShortZoneIDs()
1023 delete tz1; in TestShortZoneIDs()
1773 TimeZone* tz1 = TimeZone::createTimeZone(*id1); in TestCountries() local
1780 if(tz1->hasSameRules(*tz2)){ in TestCountries()
1785 delete tz1; in TestCountries()
1876 SimpleTimeZone tz1(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary() local
[all …]
Dtzregts.cpp556 SimpleTimeZone *tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0, status); in Test4154537() local
567 if (tz1->useDaylightTime() || tz2->useDaylightTime() || in Test4154537()
575 if (!tz1->hasSameRules(*tz2)) { in Test4154537()
581 delete tz1; in Test4154537()
Dincaltst.cpp164 int32_t tz1 = cal.get(UCAL_ZONE_OFFSET,status); in quasiGregorianTest() local
166 if(tz1 != tz2) { in quasiGregorianTest()
167 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()
2538 tz1.getOffset(start, FALSE, raw1, dst1, status); in hasEquivalentTransitions()
2561 UBool avail1 = tz1.getNextTransition(time, FALSE, tr1); in hasEquivalentTransitions()
2572 tz1.getNextTransition(tr1.getTime(), FALSE, tr1); in hasEquivalentTransitions()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java696 TimeZone tz1 = fmt.parse("America/Los_Angeles"); in TestParseCoverage() local
697 if (tz1 == null) { in TestParseCoverage()
699 } else if (!expectedTZ.equals(tz1)) { in TestParseCoverage()
700 errln("Parsed TimeZone: '" + tz1.getID() + "' using parse(String) - expected: " in TestParseCoverage()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java699 TimeZone tz1 = fmt.parse("America/Los_Angeles"); in TestParseCoverage() local
700 if (tz1 == null) { in TestParseCoverage()
702 } else if (!expectedTZ.equals(tz1)) { in TestParseCoverage()
703 errln("Parsed TimeZone: '" + tz1.getID() + "' using parse(String) - expected: " in TestParseCoverage()
/external/python/dateutil/docs/
Dexamples.rst1301 >>> tz1 = tzstr('EST+05EDT,M4.1.0,M10.5.0')
1303 >>> dt = datetime(2003, 5, 8, 2, 7, 36, tzinfo=tz1)
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dpr17168.ll267 !207 = !DIGlobalVariable(name: "tz1", scope: null, file: !2, line: 31, type: !13, isLocal: true, is…
/external/llvm/test/CodeGen/PowerPC/
Dpr17168.ll462 !406 = !DIGlobalVariable(name: "tz1", line: 31, isLocal: true, isDefinition: true, scope: null, fil…
/external/python/cpython3/Lib/test/
Ddatetimetester.py143 tz1 = _TZInfo()
144 dt1 = datetime(2014, 7, 21, 11, 32, 3, 0, tz1)
/external/hyphenation-patterns/hu/
Dhyph-hu.pat.txt54215 tz1ő2r
/external/honggfuzz/examples/apache-httpd/corpus_http1/
D67154715f57204df236d04030732b84d.000eb1d3.honggfuzz.cov6319 �{ũ��M��8UCs�v�dJ#�M„��6�/{,2�mag��X eWjɅÑn0�h츈vF_��c=^�kaO�MbD���A���D:H�ljF�ғwp�tz1ʬ&�…