Home
last modified time | relevance | path

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

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DTimeZoneTest.java23 TimeZone tz1 = TimeZone.getTimeZone("PST"); in testHashCode() local
26 testEHCS(tz1, tz2, tzn); in testHashCode()
204 TimeZone tz1 = TimeZone.getDefault(); in testSetDefault() local
205 String newCode = "PDT".equals(tz1.getID()) ? "CST" : "PDT"; in testSetDefault()
209 assertNotEqual(tz1, result); in testSetDefault()
217 TimeZone tz1 = TimeZone.getTimeZone("PST"); in testHasSameRules() local
219 assertTrue(tz1.hasSameRules(tz2)); in testHasSameRules()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java1538 …private void compareTransitionsAscending(TimeZone tz1, TimeZone tz2, long start, long end, boolean… in compareTransitionsAscending() argument
1539 BasicTimeZone z1 = (BasicTimeZone)tz1; in compareTransitionsAscending()
1541 String zid1 = tz1.getID(); in compareTransitionsAscending()
1588 …private void compareTransitionsDescending(TimeZone tz1, TimeZone tz2, long start, long end, boolea… in compareTransitionsDescending() argument
1589 BasicTimeZone z1 = (BasicTimeZone)tz1; in compareTransitionsDescending()
1591 String zid1 = tz1.getID(); in compareTransitionsDescending()
1699 private static boolean hasEquivalentTransitions(BasicTimeZone tz1, BasicTimeZone tz2, in hasEquivalentTransitions() argument
1702 if (tz1.hasSameRules(tz2)) { in hasEquivalentTransitions()
1710 tz1.getOffset(start, false, offsets1); in hasEquivalentTransitions()
1728 TimeZoneTransition tr1 = tz1.getNextTransition(time, false); in hasEquivalentTransitions()
[all …]
DTimeZoneRegression.java436 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); in Test4154537() local
443 if (tz1.useDaylightTime() || tz2.useDaylightTime() || in Test4154537()
451 if (!tz1.hasSameRules(tz2)) { in Test4154537()
453 errln("zone 1 = " + tz1); in Test4154537()
DTimeZoneTest.java1416 SimpleTimeZone tz1 = new SimpleTimeZone( in TestFebruary() local
1464 TimeZone timezones[] = { tz1, tz2 }; in TestFebruary()
1832 TimeZone tz1 = TimeZone.getTimeZone(id); in TestHashCode() local
1836 if (tz1.hashCode() != tz2.hashCode()) { in TestHashCode()
1840 if (!tz1.toString().equals(tz2.toString())) { in TestHashCode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java1534 …private void compareTransitionsAscending(TimeZone tz1, TimeZone tz2, long start, long end, boolean… in compareTransitionsAscending() argument
1535 BasicTimeZone z1 = (BasicTimeZone)tz1; in compareTransitionsAscending()
1537 String zid1 = tz1.getID(); in compareTransitionsAscending()
1584 …private void compareTransitionsDescending(TimeZone tz1, TimeZone tz2, long start, long end, boolea… in compareTransitionsDescending() argument
1585 BasicTimeZone z1 = (BasicTimeZone)tz1; in compareTransitionsDescending()
1587 String zid1 = tz1.getID(); in compareTransitionsDescending()
1695 private static boolean hasEquivalentTransitions(BasicTimeZone tz1, BasicTimeZone tz2, in hasEquivalentTransitions() argument
1698 if (tz1.hasSameRules(tz2)) { in hasEquivalentTransitions()
1706 tz1.getOffset(start, false, offsets1); in hasEquivalentTransitions()
1724 TimeZoneTransition tr1 = tz1.getNextTransition(time, false); in hasEquivalentTransitions()
[all …]
DTimeZoneRegression.java432 SimpleTimeZone tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0); in Test4154537() local
439 if (tz1.useDaylightTime() || tz2.useDaylightTime() || in Test4154537()
447 if (!tz1.hasSameRules(tz2)) { in Test4154537()
449 errln("zone 1 = " + tz1); in Test4154537()
DTimeZoneTest.java1412 SimpleTimeZone tz1 = new SimpleTimeZone( in TestFebruary() local
1460 TimeZone timezones[] = { tz1, tz2 }; in TestFebruary()
1828 TimeZone tz1 = TimeZone.getTimeZone(id); in TestHashCode() local
1832 if (tz1.hashCode() != tz2.hashCode()) { in TestHashCode()
1836 if (!tz1.toString().equals(tz2.toString())) { in TestHashCode()
/external/icu/icu4c/source/test/intltest/
Dtztest.cpp995 TimeZone *tz1 = TimeZone::createTimeZone(zone1); in TestShortZoneIDs() local
998 if (!tz1) { in TestShortZoneIDs()
1005 if (tz1 && tz2) { in TestShortZoneIDs()
1007 tz2->setID(tz1->getID(itsID)); in TestShortZoneIDs()
1009 if (*tz1 != *tz2) { in TestShortZoneIDs()
1018 delete tz1; in TestShortZoneIDs()
1746 TimeZone* tz1 = TimeZone::createTimeZone(*id1); in TestCountries() local
1753 if(tz1->hasSameRules(*tz2)){ in TestCountries()
1758 delete tz1; in TestCountries()
1849 SimpleTimeZone tz1(-3 * U_MILLIS_PER_HOUR, // raw offset: 3h before (west of) GMT in TestFebruary() local
[all …]
Dtzregts.cpp554 SimpleTimeZone *tz1 = new SimpleTimeZone(0, "1", 0, 0, 0, 0, 2, 0, 0, 0, status); in Test4154537() local
565 if (tz1->useDaylightTime() || tz2->useDaylightTime() || in Test4154537()
573 if (!tz1->hasSameRules(*tz2)) { in Test4154537()
579 delete tz1; in Test4154537()
Dincaltst.cpp161 int32_t tz1 = cal.get(UCAL_ZONE_OFFSET,status); in quasiGregorianTest() local
163 if(tz1 != tz2) { in quasiGregorianTest()
164 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2); in quasiGregorianTest()
Dtzrulets.cpp49 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2,
2523 static UBool hasEquivalentTransitions(/*const*/ BasicTimeZone& tz1, /*const*/BasicTimeZone& tz2, in hasEquivalentTransitions() argument
2530 if (tz1.hasSameRules(tz2)) { in hasEquivalentTransitions()
2535 tz1.getOffset(start, FALSE, raw1, dst1, status); in hasEquivalentTransitions()
2558 UBool avail1 = tz1.getNextTransition(time, FALSE, tr1); in hasEquivalentTransitions()
2569 tz1.getNextTransition(tr1.getTime(), FALSE, tr1); in hasEquivalentTransitions()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java675 TimeZone tz1 = fmt.parse("America/Los_Angeles"); in TestParseCoverage() local
676 if (tz1 == null) { in TestParseCoverage()
678 } else if (!expectedTZ.equals(tz1)) { in TestParseCoverage()
679 errln("Parsed TimeZone: '" + tz1.getID() + "' using parse(String) - expected: " in TestParseCoverage()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java671 TimeZone tz1 = fmt.parse("America/Los_Angeles"); in TestParseCoverage() local
672 if (tz1 == null) { in TestParseCoverage()
674 } else if (!expectedTZ.equals(tz1)) { in TestParseCoverage()
675 errln("Parsed TimeZone: '" + tz1.getID() + "' using parse(String) - expected: " in TestParseCoverage()
/external/llvm/test/CodeGen/PowerPC/
Dpr17168.ll463 !406 = !DIGlobalVariable(name: "tz1", line: 31, isLocal: true, isDefinition: true, scope: null, fil…
/external/hyphenation-patterns/hu/
Dhyph-hu.pat.txt54215 tz1ő2r