/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneOffsetLocalTest.java | 43 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/ |
D | TimeZoneOffsetLocalTest.java | 39 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/ |
D | tzoffloc.cpp | 47 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()
|
D | tzfmttst.cpp | 119 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 …]
|
D | dtfmrgts.cpp | 1138 UDate DATES[] = { in Test4182066() local 1153 UDate expected = DATES[i]; in Test4182066()
|
D | calregts.cpp | 1618 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/ |
D | TimeZoneFormatTest.java | 111 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 …]
|
D | DateFormatRegressionTest.java | 796 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/ |
D | TimeZoneFormatTest.java | 115 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 …]
|
D | DateFormatRegressionTest.java | 800 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/ |
D | dtfmtrtperf.h | 101 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/ |
D | FormatTests.java | 2281 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/ |
D | FormatTests.java | 2280 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/ |
D | CalendarRegression.java | 1093 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/ |
D | CalendarRegression.java | 1097 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()
|