Home
last modified time | relevance | path

Searched refs:DATES (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneOffsetLocalTest.java39 int[][] DATES = { in TestGetOffsetAroundTransition() local
149 long [] MILLIS = new long[DATES.length]; in TestGetOffsetAroundTransition()
150 for (int i = 0; i < DATES.length; i++) { in TestGetOffsetAroundTransition()
152 cal.set(DATES[i][0], DATES[i][1], DATES[i][2], DATES[i][3], DATES[i][4]); in TestGetOffsetAroundTransition()
161 for (int d = 0; d < DATES.length; d++) { in TestGetOffsetAroundTransition()
162 … int offset = TESTZONES[i].getOffset(GregorianCalendar.AD, DATES[d][0], DATES[d][1], DATES[d][2], in TestGetOffsetAroundTransition()
163 Calendar.SUNDAY, DATES[d][5]); in TestGetOffsetAroundTransition()
/external/icu/icu4c/source/test/intltest/
Dtzoffloc.cpp47 const int32_t DATES[NUM_DATES][6] = { in TestGetOffsetAroundTransition() local
186 cal->set(DATES[i][0], DATES[i][1], DATES[i][2], DATES[i][3], DATES[i][4]); in TestGetOffsetAroundTransition()
206 …32_t offset = TESTZONES[i]->getOffset(GregorianCalendar::AD, DATES[d][0], DATES[d][1], DATES[d][2], in TestGetOffsetAroundTransition()
207 UCAL_SUNDAY, DATES[d][5], status); in TestGetOffsetAroundTransition()
Dtzfmttst.cpp119 UDate DATES[(sizeof(testDateData)/sizeof(int32_t))/3]; in TestTimeZoneRoundTrip() local
124 DATES[i] = cal->getTime(status); in TestTimeZoneRoundTrip()
184 sdf->format(DATES[datidx], tzstr, fpos); in TestTimeZoneRoundTrip()
209 tz->getOffset(DATES[datidx], false, inRaw, inDst, status); in TestTimeZoneRoundTrip()
214 outtz.getOffset(DATES[datidx], false, outRaw, outDst, status); in TestTimeZoneRoundTrip()
234 + ", time=" + DATES[datidx] + ", str=" + tzstr in TestTimeZoneRoundTrip()
239 + ", time=" + DATES[datidx] + ", str=" + tzstr in TestTimeZoneRoundTrip()
248 + ", time=" + DATES[datidx] + ", str=" + tzstr in TestTimeZoneRoundTrip()
268 + ", time=" + DATES[datidx] + ", str=" + tzstr in TestTimeZoneRoundTrip()
273 + ", time=" + DATES[datidx] + ", str=" + tzstr in TestTimeZoneRoundTrip()
[all …]
Ddtfmrgts.cpp1138 UDate DATES[] = { in Test4182066() local
1153 UDate expected = DATES[i]; in Test4182066()
Dcalregts.cpp1618 UDate DATES [] = { LATEST_SUPPORTED_MILLIS, EARLIEST_SUPPORTED_MILLIS }; in test4145983() local
1620 calendar->setTime(DATES[i], status); in test4145983()
1624 errln(UnicodeString("Failed for ")+DATES[i]+" ms: year=" + in test4145983()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java108 Date[] DATES = new Date[testDateData.length]; in TestTimeZoneRoundTrip() local
110 for (int i = 0; i < DATES.length; i++) { in TestTimeZoneRoundTrip()
112 DATES[i] = cal.getTime(); in TestTimeZoneRoundTrip()
148 for (int datidx = 0; datidx < DATES.length; datidx++) { in TestTimeZoneRoundTrip()
151 String tzstr = sdf.format(DATES[datidx]); in TestTimeZoneRoundTrip()
169 tz.getOffset(DATES[datidx].getTime(), false, inOffsets); in TestTimeZoneRoundTrip()
170 outtz.getOffset(DATES[datidx].getTime(), false, outOffsets); in TestTimeZoneRoundTrip()
182 + ", time=" + DATES[datidx].getTime() + ", str=" + tzstr in TestTimeZoneRoundTrip()
188 + ", time=" + DATES[datidx].getTime() + ", str=" + tzstr in TestTimeZoneRoundTrip()
197 + ", time=" + DATES[datidx].getTime() + ", str=" + tzstr in TestTimeZoneRoundTrip()
[all …]
DDateFormatRegressionTest.java792 Date DATES[] = {d0, d1, d2, d3, d4, d5, FAIL_DATE, d7}; in Test4182066() local
798 Date expected = DATES[i]; in Test4182066()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h101 UDate DATES[(sizeof(testDateData)/sizeof(int32_t))/3]; in call() local
106 DATES[i] = cal->getTime(*status); in call()
171 sdf->format(DATES[datidx], tzstr, fpos); in call()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatTests.java2280 final long[] DATES = { in hasSameBehavior() local
2288 for (long date : DATES) { in hasSameBehavior()
2320 final long[] DATES = { in hasSameBehavior() local
2332 for (long date : DATES) { in hasSameBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegression.java1093 Date[] DATES = { new Date(Long.MAX_VALUE), new Date(Long.MIN_VALUE) }; in Test4145983() local
1094 for (int i=0; i<DATES.length; ++i) { in Test4145983()
1095 calendar.setTime(DATES[i]); in Test4145983()
1099 errln("Failed for "+DATES[i].getTime()+" ms: year=" + in Test4145983()