Searched refs:TESTZONES (Results 1 – 3 of 3) sorted by relevance
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 120 BasicTimeZone[] TESTZONES = new BasicTimeZone[3]; in TestGetOffsetAroundTransition() local 122 … TESTZONES[0] = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_ICU); in TestGetOffsetAroundTransition() 123 TESTZONES[1] = new SimpleTimeZone(-8*HOUR, "Simple Pacific Time", in TestGetOffsetAroundTransition() 152 TESTZONES[2] = rbPT; in TestGetOffsetAroundTransition() 166 for (int i = 0; i < TESTZONES.length; i++) { in TestGetOffsetAroundTransition() 168 … int offset = TESTZONES[i].getOffset(GregorianCalendar.AD, DATES[d][0], DATES[d][1], DATES[d][2], in TestGetOffsetAroundTransition() 171 errln("Bad offset returned by " + TESTZONES[i].getID() + " at " in TestGetOffsetAroundTransition() 178 for (int i = 0; i < TESTZONES.length; i++) { in TestGetOffsetAroundTransition() 180 TESTZONES[i].getOffset(MILLIS[m], true, offsets); in TestGetOffsetAroundTransition() 182 errln("Bad offset returned by " + TESTZONES[i].getID() + " at " in TestGetOffsetAroundTransition() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 118 BasicTimeZone[] TESTZONES = new BasicTimeZone[3]; in TestGetOffsetAroundTransition() local 120 … TESTZONES[0] = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_ICU); in TestGetOffsetAroundTransition() 121 TESTZONES[1] = new SimpleTimeZone(-8*HOUR, "Simple Pacific Time", in TestGetOffsetAroundTransition() 150 TESTZONES[2] = rbPT; in TestGetOffsetAroundTransition() 164 for (int i = 0; i < TESTZONES.length; i++) { in TestGetOffsetAroundTransition() 166 … int offset = TESTZONES[i].getOffset(GregorianCalendar.AD, DATES[d][0], DATES[d][1], DATES[d][2], in TestGetOffsetAroundTransition() 169 errln("Bad offset returned by " + TESTZONES[i].getID() + " at " in TestGetOffsetAroundTransition() 176 for (int i = 0; i < TESTZONES.length; i++) { in TestGetOffsetAroundTransition() 178 TESTZONES[i].getOffset(MILLIS[m], true, offsets); in TestGetOffsetAroundTransition() 180 errln("Bad offset returned by " + TESTZONES[i].getID() + " at " in TestGetOffsetAroundTransition() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tzoffloc.cpp | 132 BasicTimeZone *TESTZONES[NUM_TIMEZONES]; in TestGetOffsetAroundTransition() local 134 TESTZONES[0] = (BasicTimeZone*)TimeZone::createTimeZone("America/Los_Angeles"); in TestGetOffsetAroundTransition() 135 TESTZONES[1] = new SimpleTimeZone(-8*HOUR, "Simple Pacific Time", in TestGetOffsetAroundTransition() 182 TESTZONES[2] = rbPT; in TestGetOffsetAroundTransition() 208 …int32_t offset = TESTZONES[i]->getOffset(GregorianCalendar::AD, DATES[d][0], DATES[d][1], DATES[d]… in TestGetOffsetAroundTransition() 226 TESTZONES[i]->getOffset(MILLIS[m], true, rawOffset, dstOffset, status); in TestGetOffsetAroundTransition() 246 …TESTZONES[i]->getOffsetFromLocal(MILLIS[m], UCAL_TZ_LOCAL_STANDARD_FORMER, UCAL_TZ_LOCAL_STANDARD_… in TestGetOffsetAroundTransition() 267 …TESTZONES[i]->getOffsetFromLocal(MILLIS[m], UCAL_TZ_LOCAL_DAYLIGHT_LATTER, UCAL_TZ_LOCAL_DAYLIGHT_… in TestGetOffsetAroundTransition() 288 TESTZONES[i]->getOffsetFromLocal(MILLIS[m], UCAL_TZ_LOCAL_FORMER, UCAL_TZ_LOCAL_LATTER, in TestGetOffsetAroundTransition() 309 TESTZONES[i]->getOffsetFromLocal(MILLIS[m], UCAL_TZ_LOCAL_LATTER, UCAL_TZ_LOCAL_FORMER, in TestGetOffsetAroundTransition() [all …]
|