Searched refs:stz1 (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 1526 SimpleTimeZone *stz1 = new SimpleTimeZone(-5*HOUR, "GMT-5"); in TestSimpleTimeZoneCoverage() local 1528 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() 1532 avail1 = stz1->getPreviousTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() 1537 numTzRules = stz1->countTransitionRules(status); in TestSimpleTimeZoneCoverage() 1545 stz1->getTimeZoneRules(ir, trrules, numTzRules, status); in TestSimpleTimeZoneCoverage() 1552 if (ir == NULL || ir->getRawOffset() != stz1->getRawOffset()) { in TestSimpleTimeZoneCoverage() 1557 stz1->setStartRule(UCAL_MARCH, 11, 2*HOUR, status); // March 11 in TestSimpleTimeZoneCoverage() 1558 stz1->setEndRule(UCAL_NOVEMBER, 1, UCAL_SUNDAY, 2*HOUR, status); // First Sunday in November in TestSimpleTimeZoneCoverage() 1563 avail1 = stz1->getNextTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() 1567 avail1 = stz1->getPreviousTransition(time1, FALSE, tzt1); in TestSimpleTimeZoneCoverage() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 1067 SimpleTimeZone stz1 = new SimpleTimeZone(-5*HOUR, "GMT-5"); in TestSimpleTimeZoneCoverage() local 1069 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() 1073 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage() 1077 TimeZoneRule[] tzrules = stz1.getTimeZoneRules(); in TestSimpleTimeZoneCoverage() 1083 stz1.setStartRule(Calendar.MARCH, 11, 2*HOUR); // March 11 in TestSimpleTimeZoneCoverage() 1084 stz1.setEndRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, 2*HOUR); // First Sunday in November in TestSimpleTimeZoneCoverage() 1085 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() 1096 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage() 1100 tzrules = stz1.getTimeZoneRules(); in TestSimpleTimeZoneCoverage() 1107 stz1.setStartYear(2007); in TestSimpleTimeZoneCoverage() [all …]
|
D | TimeZoneTest.java | 1143 SimpleTimeZone stz1 = new SimpleTimeZone(32400000, "Asia/Tokyo"); in TestSimpleTimeZoneSerialization() local 1157 SimpleTimeZone[] stzs = { stz0, stz1, stz2, stz3, stz4, stz5, }; in TestSimpleTimeZoneSerialization()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 1063 SimpleTimeZone stz1 = new SimpleTimeZone(-5*HOUR, "GMT-5"); in TestSimpleTimeZoneCoverage() local 1065 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() 1069 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage() 1073 TimeZoneRule[] tzrules = stz1.getTimeZoneRules(); in TestSimpleTimeZoneCoverage() 1079 stz1.setStartRule(Calendar.MARCH, 11, 2*HOUR); // March 11 in TestSimpleTimeZoneCoverage() 1080 stz1.setEndRule(Calendar.NOVEMBER, 1, Calendar.SUNDAY, 2*HOUR); // First Sunday in November in TestSimpleTimeZoneCoverage() 1081 tzt1 = stz1.getNextTransition(time1, false); in TestSimpleTimeZoneCoverage() 1092 tzt1 = stz1.getPreviousTransition(time1, false); in TestSimpleTimeZoneCoverage() 1096 tzrules = stz1.getTimeZoneRules(); in TestSimpleTimeZoneCoverage() 1103 stz1.setStartYear(2007); in TestSimpleTimeZoneCoverage() [all …]
|
D | TimeZoneTest.java | 1139 SimpleTimeZone stz1 = new SimpleTimeZone(32400000, "Asia/Tokyo"); in TestSimpleTimeZoneSerialization() local 1153 SimpleTimeZone[] stzs = { stz0, stz1, stz2, stz3, stz4, stz5, }; in TestSimpleTimeZoneSerialization()
|