OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TESTZONES
(Results
1 - 3
of
3
) sorted by null
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
TimeZoneOffsetLocalTest.java
118
BasicTimeZone[]
TESTZONES
= new BasicTimeZone[3];
120
TESTZONES
[0] = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_ICU);
121
TESTZONES
[1] = new SimpleTimeZone(-8*HOUR, "Simple Pacific Time",
150
TESTZONES
[2] = rbPT;
164
for (int i = 0; i <
TESTZONES
.length; i++) {
166
int offset =
TESTZONES
[i].getOffset(GregorianCalendar.AD, DATES[d][0], DATES[d][1], DATES[d][2],
169
errln("Bad offset returned by " +
TESTZONES
[i].getID() + " at "
176
for (int i = 0; i <
TESTZONES
.length; i++) {
178
TESTZONES
[i].getOffset(MILLIS[m], true, offsets);
180
errln("Bad offset returned by " +
TESTZONES
[i].getID() + " at
[
all
...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
TimeZoneOffsetLocalTest.java
114
BasicTimeZone[]
TESTZONES
= new BasicTimeZone[3];
116
TESTZONES
[0] = (BasicTimeZone)TimeZone.getTimeZone("America/Los_Angeles", TimeZone.TIMEZONE_ICU);
117
TESTZONES
[1] = new SimpleTimeZone(-8*HOUR, "Simple Pacific Time",
146
TESTZONES
[2] = rbPT;
160
for (int i = 0; i <
TESTZONES
.length; i++) {
162
int offset =
TESTZONES
[i].getOffset(GregorianCalendar.AD, DATES[d][0], DATES[d][1], DATES[d][2],
165
errln("Bad offset returned by " +
TESTZONES
[i].getID() + " at "
172
for (int i = 0; i <
TESTZONES
.length; i++) {
174
TESTZONES
[i].getOffset(MILLIS[m], true, offsets);
176
errln("Bad offset returned by " +
TESTZONES
[i].getID() + " at
[
all
...]
/external/icu/icu4c/source/test/intltest/
tzoffloc.cpp
130
BasicTimeZone *
TESTZONES
[NUM_TIMEZONES];
132
TESTZONES
[0] = (BasicTimeZone*)TimeZone::createTimeZone("America/Los_Angeles");
133
TESTZONES
[1] = new SimpleTimeZone(-8*HOUR, "Simple Pacific Time",
180
TESTZONES
[2] = rbPT;
206
int32_t offset =
TESTZONES
[i]->getOffset(GregorianCalendar::AD, DATES[d][0], DATES[d][1], DATES[d][2],
209
errln((UnicodeString)"getOffset(era,year,month,day,dayOfWeek,millis,status) failed for
TESTZONES
[" + i + "]");
213
dataerrln((UnicodeString)"Bad offset returned by
TESTZONES
[" + i + "] at "
224
TESTZONES
[i]->getOffset(MILLIS[m], TRUE, rawOffset, dstOffset, status);
226
errln((UnicodeString)"getOffset(date,local,rawOfset,dstOffset,ec) failed for
TESTZONES
[" + i + "]");
230
dataerrln((UnicodeString)"Bad offset returned by
TESTZONES
[" + i + "] at
[
all
...]
Completed in 75 milliseconds