Searched refs:TESTZONES (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 114 BasicTimeZone[] TESTZONES = new BasicTimeZone[3]; in TestGetOffsetAroundTransition() local 116 … TESTZONES[0] = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_ICU); in TestGetOffsetAroundTransition() 117 TESTZONES[1] = new SimpleTimeZone(-8*HOUR, "Simple Pacific Time", in TestGetOffsetAroundTransition() 146 TESTZONES[2] = rbPT; in TestGetOffsetAroundTransition() 160 for (int i = 0; i < TESTZONES.length; i++) { in TestGetOffsetAroundTransition() 162 … int offset = TESTZONES[i].getOffset(GregorianCalendar.AD, DATES[d][0], DATES[d][1], DATES[d][2], in TestGetOffsetAroundTransition() 165 errln("Bad offset returned by " + TESTZONES[i].getID() + " at " in TestGetOffsetAroundTransition() 172 for (int i = 0; i < TESTZONES.length; i++) { in TestGetOffsetAroundTransition() 174 TESTZONES[i].getOffset(MILLIS[m], true, offsets); in TestGetOffsetAroundTransition() 176 errln("Bad offset returned by " + TESTZONES[i].getID() + " at " in TestGetOffsetAroundTransition() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tzoffloc.cpp | 130 BasicTimeZone *TESTZONES[NUM_TIMEZONES]; in TestGetOffsetAroundTransition() local 132 TESTZONES[0] = (BasicTimeZone*)TimeZone::createTimeZone("America/Los_Angeles"); in TestGetOffsetAroundTransition() 133 TESTZONES[1] = new SimpleTimeZone(-8*HOUR, "Simple Pacific Time", in TestGetOffsetAroundTransition() 180 TESTZONES[2] = rbPT; in TestGetOffsetAroundTransition() 206 …int32_t offset = TESTZONES[i]->getOffset(GregorianCalendar::AD, DATES[d][0], DATES[d][1], DATES[d]… in TestGetOffsetAroundTransition() 224 TESTZONES[i]->getOffset(MILLIS[m], TRUE, rawOffset, dstOffset, status); in TestGetOffsetAroundTransition() 244 … TESTZONES[i]->getOffsetFromLocal(MILLIS[m], BasicTimeZone::kStandard, BasicTimeZone::kStandard, in TestGetOffsetAroundTransition() 265 … TESTZONES[i]->getOffsetFromLocal(MILLIS[m], BasicTimeZone::kDaylight, BasicTimeZone::kDaylight, in TestGetOffsetAroundTransition() 286 … TESTZONES[i]->getOffsetFromLocal(MILLIS[m], BasicTimeZone::kFormer, BasicTimeZone::kLatter, in TestGetOffsetAroundTransition() 307 … TESTZONES[i]->getOffsetFromLocal(MILLIS[m], BasicTimeZone::kLatter, BasicTimeZone::kFormer, in TestGetOffsetAroundTransition() [all …]
|