/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/ |
D | TestConfig.java | 200 TimeZone tz1 = TimeZone.getTimeZone("America/Los_Angeles"); in testDateFormatConfig() local 204 assertEquals(tz1, tz1); in testDateFormatConfig() 206 if (tz1.equals(tz2)) { in testDateFormatConfig() 210 mapper.setTimeZone(tz1); in testDateFormatConfig() 211 assertEquals(tz1, mapper.getSerializationConfig().getTimeZone()); in testDateFormatConfig() 212 assertEquals(tz1, mapper.getDeserializationConfig().getTimeZone()); in testDateFormatConfig() 215 assertEquals(tz1, mapper.writer().getConfig().getTimeZone()); in testDateFormatConfig() 216 assertEquals(tz1, mapper.reader().getConfig().getTimeZone()); in testDateFormatConfig() 223 assertEquals(tz1, mapper.getSerializationConfig().getTimeZone()); in testDateFormatConfig() 224 assertEquals(tz1, mapper.getDeserializationConfig().getTimeZone()); in testDateFormatConfig() [all …]
|
/external/python/dateutil/dateutil/test/ |
D | test_internals.py | 89 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
|
D | test_tz.py | 728 tz1 = tz.tzoffset.instance('EST', timedelta(hours=-5)) 731 assert tz1 is not tz2 734 tz1 = tz.tzoffset('EST', timedelta(hours=-5)) 737 assert tz1 is tz2 769 tz1 = tz.tzoffset(*args) 772 assert tz1 is tz2 796 tz1 = tz.tzlocal() 800 self.assertTrue(tz1 == tz2) 801 self.assertFalse(tz1 != tz2) 1459 tz1 = tz.tzstr('EST5EDT') [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 1554 …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 …]
|
D | TimeZoneRegressionTest.java | 445 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()
|
D | TimeZoneTest.java | 1432 SimpleTimeZone tz1 = new SimpleTimeZone( in TestFebruary() local 1480 TimeZone timezones[] = { tz1, tz2 }; in TestFebruary() 1856 TimeZone tz1 = TimeZone.getTimeZone(id); in TestHashCode() local 1860 if (tz1.hashCode() != tz2.hashCode()) { in TestHashCode() 1864 if (!tz1.toString().equals(tz2.toString())) { in TestHashCode()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 1557 …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 …]
|
D | TimeZoneRegressionTest.java | 448 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()
|
D | TimeZoneTest.java | 1435 SimpleTimeZone tz1 = new SimpleTimeZone( in TestFebruary() local 1483 TimeZone timezones[] = { tz1, tz2 }; in TestFebruary() 1859 TimeZone tz1 = TimeZone.getTimeZone(id); in TestHashCode() local 1863 if (tz1.hashCode() != tz2.hashCode()) { in TestHashCode() 1867 if (!tz1.toString().equals(tz2.toString())) { in TestHashCode()
|
/external/icu/icu4c/source/test/intltest/ |
D | tztest.cpp | 1002 TimeZone *tz1 = TimeZone::createTimeZone(zone1); in TestShortZoneIDs() local 1005 if (!tz1) { in TestShortZoneIDs() 1012 if (tz1 && tz2) { in TestShortZoneIDs() 1014 tz2->setID(tz1->getID(itsID)); in TestShortZoneIDs() 1016 if (*tz1 != *tz2) { in TestShortZoneIDs() 1025 delete tz1; in TestShortZoneIDs() 1777 TimeZone* tz1 = TimeZone::createTimeZone(*id1); in TestCountries() local 1784 if(tz1->hasSameRules(*tz2)){ in TestCountries() 1789 delete tz1; in TestCountries() 1880 SimpleTimeZone tz1(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary() local [all …]
|
D | tzregts.cpp | 556 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()
|
D | tzrulets.cpp | 52 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()
|
D | incaltst.cpp | 188 int32_t tz1 = cal.get(UCAL_ZONE_OFFSET,status); in quasiGregorianTest() local 190 if(tz1 != tz2) { in quasiGregorianTest() 191 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2); in quasiGregorianTest()
|
/external/python/asn1crypto/tests/ |
D | test_util.py | 104 tz1 = util.timezone(delta_minus_5_42) 106 self.assertEqual(tz1, tz1) 107 self.assertNotEqual(tz0, tz1)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 699 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 696 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/python/cpython3/Lib/test/test_zoneinfo/ |
D | test_zoneinfo.py | 1319 tz1 = self.klass("Australia/Sydney") 1321 self.assertIs(tz0, tz1) 1326 tz1 = self.klass.no_cache("Europe/Lisbon") 1328 self.assertIsNot(tz0, tz1)
|
/external/python/dateutil/docs/ |
D | examples.rst | 1314 >>> tz1 = tzstr('EST+05EDT,M4.1.0,M10.5.0') 1316 >>> dt = datetime(2003, 5, 8, 2, 7, 36, tzinfo=tz1)
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | pr17168.ll | 267 !207 = !DIGlobalVariable(name: "tz1", scope: null, file: !2, line: 31, type: !13, isLocal: true, is…
|
/external/python/cpython3/Doc/library/ |
D | datetime.rst | 1622 >>> tz1 = KabulTz() 1625 >>> dt1 = datetime(1900, 11, 21, 16, 30, tzinfo=tz1) 1630 >>> dt2 = datetime(2006, 6, 14, 13, 0, tzinfo=tz1)
|
/external/llvm/test/CodeGen/PowerPC/ |
D | pr17168.ll | 462 !406 = !DIGlobalVariable(name: "tz1", line: 31, isLocal: true, isDefinition: true, scope: null, fil…
|
/external/python/cpython3/Lib/test/ |
D | datetimetester.py | 149 tz1 = _TZInfo() 150 dt1 = datetime(2014, 7, 21, 11, 32, 3, 0, tz1)
|
/external/hyphenation-patterns/hu/ |
D | hyph-hu.pat.txt | 54215 tz1ő2r
|