Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneOffsetLocalTest.java43 int[][] DATES = { in TestGetOffsetAroundTransition() local
153 long [] MILLIS = new long[DATES.length]; in TestGetOffsetAroundTransition()
154 for (int i = 0; i < DATES.length; i++) { in TestGetOffsetAroundTransition()
156 cal.set(DATES[i][0], DATES[i][1], DATES[i][2], DATES[i][3], DATES[i][4]); in TestGetOffsetAroundTransition()
165 for (int d = 0; d < DATES.length; d++) { in TestGetOffsetAroundTransition()
166 … int offset = TESTZONES[i].getOffset(GregorianCalendar.AD, DATES[d][0], DATES[d][1], DATES[d][2], in TestGetOffsetAroundTransition()
167 Calendar.SUNDAY, DATES[d][5]); in TestGetOffsetAroundTransition()
/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.java111 Date[] DATES = new Date[testDateData.length]; in TestTimeZoneRoundTrip() local
113 for (int i = 0; i < DATES.length; i++) { in TestTimeZoneRoundTrip()
115 DATES[i] = cal.getTime(); in TestTimeZoneRoundTrip()
151 for (int datidx = 0; datidx < DATES.length; datidx++) { in TestTimeZoneRoundTrip()
154 String tzstr = sdf.format(DATES[datidx]); in TestTimeZoneRoundTrip()
172 tz.getOffset(DATES[datidx].getTime(), false, inOffsets); in TestTimeZoneRoundTrip()
173 outtz.getOffset(DATES[datidx].getTime(), false, outOffsets); in TestTimeZoneRoundTrip()
185 + ", time=" + DATES[datidx].getTime() + ", str=" + tzstr in TestTimeZoneRoundTrip()
191 + ", time=" + DATES[datidx].getTime() + ", str=" + tzstr in TestTimeZoneRoundTrip()
200 + ", time=" + DATES[datidx].getTime() + ", str=" + tzstr in TestTimeZoneRoundTrip()
[all …]
DDateFormatRegressionTest.java796 Date DATES[] = {d0, d1, d2, d3, d4, d5, FAIL_DATE, d7}; in Test4182066() local
802 Date expected = DATES[i]; in Test4182066()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java115 Date[] DATES = new Date[testDateData.length]; in TestTimeZoneRoundTrip() local
117 for (int i = 0; i < DATES.length; i++) { in TestTimeZoneRoundTrip()
119 DATES[i] = cal.getTime(); in TestTimeZoneRoundTrip()
155 for (int datidx = 0; datidx < DATES.length; datidx++) { in TestTimeZoneRoundTrip()
158 String tzstr = sdf.format(DATES[datidx]); in TestTimeZoneRoundTrip()
176 tz.getOffset(DATES[datidx].getTime(), false, inOffsets); in TestTimeZoneRoundTrip()
177 outtz.getOffset(DATES[datidx].getTime(), false, outOffsets); in TestTimeZoneRoundTrip()
189 + ", time=" + DATES[datidx].getTime() + ", str=" + tzstr in TestTimeZoneRoundTrip()
195 + ", time=" + DATES[datidx].getTime() + ", str=" + tzstr in TestTimeZoneRoundTrip()
204 + ", time=" + DATES[datidx].getTime() + ", str=" + tzstr in TestTimeZoneRoundTrip()
[all …]
DDateFormatRegressionTest.java800 Date DATES[] = {d0, d1, d2, d3, d4, d5, FAIL_DATE, d7}; in Test4182066() local
806 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/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatTests.java2281 final long[] DATES = { in hasSameBehavior() local
2289 for (long date : DATES) { in hasSameBehavior()
2321 final long[] DATES = { in hasSameBehavior() local
2333 for (long date : DATES) { in hasSameBehavior()
/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()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegression.java1097 Date[] DATES = { new Date(Long.MAX_VALUE), new Date(Long.MIN_VALUE) }; in Test4145983() local
1098 for (int i=0; i<DATES.length; ++i) { in Test4145983()
1099 calendar.setTime(DATES[i]); in Test4145983()
1103 errln("Failed for "+DATES[i].getTime()+" ms: year=" + in Test4145983()