Home
last modified time | relevance | path

Searched refs:stz1 (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp1529 SimpleTimeZone *stz1 = new SimpleTimeZone(-5*HOUR, "GMT-5"); in TestSimpleTimeZoneCoverage() local
1531 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage()
1535 avail1 = stz1->getPreviousTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage()
1540 numTzRules = stz1->countTransitionRules(status); in TestSimpleTimeZoneCoverage()
1548 stz1->getTimeZoneRules(ir, trrules, numTzRules, status); in TestSimpleTimeZoneCoverage()
1555 if (ir == NULL || ir->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage()
1560 stz1->setStartRule(UCAL_MARCH, 11, 2*HOUR, status); // March 11 in TestSimpleTimeZoneCoverage()
1561 stz1->setEndRule(UCAL_NOVEMBER, 1, UCAL_SUNDAY, 2*HOUR, status); // First Sunday in November in TestSimpleTimeZoneCoverage()
1566 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage()
1570 avail1 = stz1->getPreviousTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java1078 SimpleTimeZone stz1 = new SimpleTimeZone(-5*HOUR, "GMT-5"); in TestSimpleTimeZoneCoverage() local
1080 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage()
1084 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage()
1088 TimeZoneRule[] tzrules = stz1.getTimeZoneRules(); in TestSimpleTimeZoneCoverage()
1094 stz1.setStartRule(Calendar.MARCH, 11, 2*HOUR); // March 11 in TestSimpleTimeZoneCoverage()
1095 stz1.setEndRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, 2*HOUR); // First Sunday in November in TestSimpleTimeZoneCoverage()
1096 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage()
1107 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage()
1111 tzrules = stz1.getTimeZoneRules(); in TestSimpleTimeZoneCoverage()
1118 stz1.setStartYear(2007); in TestSimpleTimeZoneCoverage()
[all …]
DTimeZoneTest.java1147 SimpleTimeZone stz1 = new SimpleTimeZone(32400000, "Asia/Tokyo"); in TestSimpleTimeZoneSerialization() local
1161 SimpleTimeZone[] stzs = { stz0, stz1, stz2, stz3, stz4, stz5, }; in TestSimpleTimeZoneSerialization()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java1081 SimpleTimeZone stz1 = new SimpleTimeZone(-5*HOUR, "GMT-5"); in TestSimpleTimeZoneCoverage() local
1083 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage()
1087 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage()
1091 TimeZoneRule[] tzrules = stz1.getTimeZoneRules(); in TestSimpleTimeZoneCoverage()
1097 stz1.setStartRule(Calendar.MARCH, 11, 2*HOUR); // March 11 in TestSimpleTimeZoneCoverage()
1098 stz1.setEndRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, 2*HOUR); // First Sunday in November in TestSimpleTimeZoneCoverage()
1099 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage()
1110 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage()
1114 tzrules = stz1.getTimeZoneRules(); in TestSimpleTimeZoneCoverage()
1121 stz1.setStartYear(2007); in TestSimpleTimeZoneCoverage()
[all …]
DTimeZoneTest.java1150 SimpleTimeZone stz1 = new SimpleTimeZone(32400000, "Asia/Tokyo"); in TestSimpleTimeZoneSerialization() local
1164 SimpleTimeZone[] stzs = { stz0, stz1, stz2, stz3, stz4, stz5, }; in TestSimpleTimeZoneSerialization()