Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dtime_zone_test.cc27 absl::TimeZone tz2 = tz; // Copy-construct in TEST() local
28 EXPECT_EQ(tz, tz2); in TEST()
29 tz2 = tz; // Copy-assign in TEST()
30 EXPECT_EQ(tz, tz2); in TEST()
/external/openscreen/third_party/abseil/src/absl/time/
Dtime_zone_test.cc27 absl::TimeZone tz2 = tz; // Copy-construct in TEST() local
28 EXPECT_EQ(tz, tz2); in TEST()
29 tz2 = tz; // Copy-assign in TEST()
30 EXPECT_EQ(tz, tz2); in TEST()
/external/libtextclassifier/abseil-cpp/absl/time/
Dtime_zone_test.cc27 absl::TimeZone tz2 = tz; // Copy-construct in TEST() local
28 EXPECT_EQ(tz, tz2); in TEST()
29 tz2 = tz; // Copy-assign in TEST()
30 EXPECT_EQ(tz, tz2); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/time/
Dtime_zone_test.cc27 absl::TimeZone tz2 = tz; // Copy-construct in TEST() local
28 EXPECT_EQ(tz, tz2); in TEST()
29 tz2 = tz; // Copy-assign in TEST()
30 EXPECT_EQ(tz, tz2); in TEST()
/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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestConfig.java201 TimeZone tz2 = TimeZone.getTimeZone("Central Standard Time"); in testDateFormatConfig() local
205 assertEquals(tz2, tz2); in testDateFormatConfig()
206 if (tz1.equals(tz2)) { in testDateFormatConfig()
219 f.setTimeZone(tz2); in testDateFormatConfig()
/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()
1857 TimeZone tz2 = 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/
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()
1860 TimeZone tz2 = 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/
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()
1783 TimeZone* tz2 = TimeZone::createTimeZone(*id2); in TestCountries() local
1784 if(tz1->hasSameRules(*tz2)){ in TestCountries()
1787 delete tz2; in TestCountries()
1895 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()
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()
Dincaltst.cpp189 int32_t tz2 = grego -> 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/llvm-project/lld/ELF/Arch/
DARM.cpp457 unsigned tz2 = countTrailingZeros(imm & ~63U); in getSOImmValRotate() local
458 unsigned rotAmt2 = tz2 & ~1; in getSOImmValRotate()
/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/llvm-project/mlir/test/Dialect/GPU/
Doutlining.mlir77 threads(%tx2, %ty2, %tz2) in (%block_x2 = %cst, %block_y2 = %cst,
/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/llvm-project/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