/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 395 Calendar tempcal = Calendar.getInstance(pst); in TestBoundaries() local 396 verifyMapping(tempcal, 1997, Calendar.APRIL, 3, 0, 238904.0); in TestBoundaries() 397 verifyMapping(tempcal, 1997, Calendar.APRIL, 4, 0, 238928.0); in TestBoundaries() 398 verifyMapping(tempcal, 1997, Calendar.APRIL, 5, 0, 238952.0); in TestBoundaries() 399 verifyMapping(tempcal, 1997, Calendar.APRIL, 5, 23, 238975.0); in TestBoundaries() 400 verifyMapping(tempcal, 1997, Calendar.APRIL, 6, 0, 238976.0); in TestBoundaries() 401 verifyMapping(tempcal, 1997, Calendar.APRIL, 6, 1, 238977.0); in TestBoundaries() 402 verifyMapping(tempcal, 1997, Calendar.APRIL, 6, 3, 238978.0); in TestBoundaries() 419 tempcal.clear(); in TestBoundaries() 420 tempcal.set(1997, Calendar.APRIL, 6); in TestBoundaries() [all …]
|
D | TimeZoneRegression.java | 75 Calendar tempcal = Calendar.getInstance(); in Test4073215() local 76 tempcal.clear(); in Test4073215() 77 tempcal.setTimeZone(z); in Test4073215() 78 tempcal.set(1997, Calendar.JANUARY, 31); in Test4073215() 79 Date d1 = tempcal.getTime(); in Test4073215() 84 tempcal.set(1997, Calendar.MARCH, 1); in Test4073215() 85 Date d2 = tempcal.getTime(); in Test4073215() 89 tempcal.clear(); in Test4073215() 90 tempcal.set(1997, Calendar.MARCH, 31); in Test4073215() 91 Date d3 = tempcal.getTime(); in Test4073215() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 391 Calendar tempcal = Calendar.getInstance(pst); in TestBoundaries() local 392 verifyMapping(tempcal, 1997, Calendar.APRIL, 3, 0, 238904.0); in TestBoundaries() 393 verifyMapping(tempcal, 1997, Calendar.APRIL, 4, 0, 238928.0); in TestBoundaries() 394 verifyMapping(tempcal, 1997, Calendar.APRIL, 5, 0, 238952.0); in TestBoundaries() 395 verifyMapping(tempcal, 1997, Calendar.APRIL, 5, 23, 238975.0); in TestBoundaries() 396 verifyMapping(tempcal, 1997, Calendar.APRIL, 6, 0, 238976.0); in TestBoundaries() 397 verifyMapping(tempcal, 1997, Calendar.APRIL, 6, 1, 238977.0); in TestBoundaries() 398 verifyMapping(tempcal, 1997, Calendar.APRIL, 6, 3, 238978.0); in TestBoundaries() 415 tempcal.clear(); in TestBoundaries() 416 tempcal.set(1997, Calendar.APRIL, 6); in TestBoundaries() [all …]
|
D | TimeZoneRegression.java | 71 Calendar tempcal = Calendar.getInstance(); in Test4073215() local 72 tempcal.clear(); in Test4073215() 73 tempcal.setTimeZone(z); in Test4073215() 74 tempcal.set(1997, Calendar.JANUARY, 31); in Test4073215() 75 Date d1 = tempcal.getTime(); in Test4073215() 80 tempcal.set(1997, Calendar.MARCH, 1); in Test4073215() 81 Date d2 = tempcal.getTime(); in Test4073215() 85 tempcal.clear(); in Test4073215() 86 tempcal.set(1997, Calendar.MARCH, 31); in Test4073215() 87 Date d3 = tempcal.getTime(); in Test4073215() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CalendarRegression.java | 304 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in Test4070502() local 305 tempcal.clear(); in Test4070502() 306 tempcal.set(1998, 0, 30); in Test4070502() 307 Date d = getAssociatedDate(tempcal.getTime()); in Test4070502() 373 java.util.Calendar tempcal = java.util.Calendar.getInstance(javazone); in Test4071385() local 374 tempcal.clear(); in Test4071385() 375 tempcal.set(1998, Calendar.JUNE, 24); in Test4071385() 376 cal.setTime(tempcal.getTime()); in Test4071385() 379 tempcal.set(1998, Calendar.NOVEMBER, 24); in Test4071385() 380 if (!cal.getTime().equals(tempcal.getTime())) in Test4071385() [all …]
|
D | CompatibilityTest.java | 237 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestMapping() local 238 tempcal.clear(); in TestMapping() 239 tempcal.set(1582, Calendar.OCTOBER, 15); in TestMapping() 240 cal.setGregorianChange(tempcal.getTime()); in TestMapping() 270 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestGenericAPI() local 271 tempcal.clear(); in TestGenericAPI() 272 tempcal.set(1990, Calendar.APRIL, 15); in TestGenericAPI() 273 Date when = tempcal.getTime(); in TestGenericAPI() 347 tempcal.clear(); in TestGenericAPI() 348 tempcal.set(1984, 5, 24); in TestGenericAPI() [all …]
|
D | ChineseTest.java | 186 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestLimits() local 187 tempcal.clear(); in TestLimits() 188 tempcal.set(1989, Calendar.NOVEMBER, 1); in TestLimits() 190 doLimitsTest(chinese, null, tempcal.getTime()); in TestLimits() 269 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestFormat() local 270 tempcal.clear(); in TestFormat() 273 tempcal.set(2001, Calendar.MAY, 22); in TestFormat() 274 DATA[0] = tempcal.getTime(); in TestFormat() 275 tempcal.set(2001, Calendar.MAY, 23); in TestFormat() 276 DATA[1] = tempcal.getTime(); in TestFormat()
|
D | DangiTest.java | 164 Calendar tempcal = Calendar.getInstance(); in TestLimits() local 165 tempcal.clear(); in TestLimits() 166 tempcal.set(1989, Calendar.NOVEMBER, 1); in TestLimits() 168 doLimitsTest(dangi, null, tempcal.getTime()); in TestLimits()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CalendarRegression.java | 300 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in Test4070502() local 301 tempcal.clear(); in Test4070502() 302 tempcal.set(1998, 0, 30); in Test4070502() 303 Date d = getAssociatedDate(tempcal.getTime()); in Test4070502() 369 java.util.Calendar tempcal = java.util.Calendar.getInstance(javazone); in Test4071385() local 370 tempcal.clear(); in Test4071385() 371 tempcal.set(1998, Calendar.JUNE, 24); in Test4071385() 372 cal.setTime(tempcal.getTime()); in Test4071385() 375 tempcal.set(1998, Calendar.NOVEMBER, 24); in Test4071385() 376 if (!cal.getTime().equals(tempcal.getTime())) in Test4071385() [all …]
|
D | CompatibilityTest.java | 233 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestMapping() local 234 tempcal.clear(); in TestMapping() 235 tempcal.set(1582, Calendar.OCTOBER, 15); in TestMapping() 236 cal.setGregorianChange(tempcal.getTime()); in TestMapping() 266 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestGenericAPI() local 267 tempcal.clear(); in TestGenericAPI() 268 tempcal.set(1990, Calendar.APRIL, 15); in TestGenericAPI() 269 Date when = tempcal.getTime(); in TestGenericAPI() 343 tempcal.clear(); in TestGenericAPI() 344 tempcal.set(1984, 5, 24); in TestGenericAPI() [all …]
|
D | ChineseTest.java | 182 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestLimits() local 183 tempcal.clear(); in TestLimits() 184 tempcal.set(1989, Calendar.NOVEMBER, 1); in TestLimits() 186 doLimitsTest(chinese, null, tempcal.getTime()); in TestLimits() 265 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestFormat() local 266 tempcal.clear(); in TestFormat() 269 tempcal.set(2001, Calendar.MAY, 22); in TestFormat() 270 DATA[0] = tempcal.getTime(); in TestFormat() 271 tempcal.set(2001, Calendar.MAY, 23); in TestFormat() 272 DATA[1] = tempcal.getTime(); in TestFormat()
|
D | DangiTest.java | 160 Calendar tempcal = Calendar.getInstance(); in TestLimits() local 161 tempcal.clear(); in TestLimits() 162 tempcal.set(1989, Calendar.NOVEMBER, 1); in TestLimits() 164 doLimitsTest(dangi, null, tempcal.getTime()); in TestLimits()
|
/external/icu/icu4c/source/test/intltest/ |
D | tzbdtest.cpp | 279 Calendar* tempcal = Calendar::createInstance(pst, status); in TestBoundaries() local 281 verifyMapping(*tempcal, 1997, Calendar::APRIL, 3, 0, 238904.0); in TestBoundaries() 282 verifyMapping(*tempcal, 1997, Calendar::APRIL, 4, 0, 238928.0); in TestBoundaries() 283 verifyMapping(*tempcal, 1997, Calendar::APRIL, 5, 0, 238952.0); in TestBoundaries() 284 verifyMapping(*tempcal, 1997, Calendar::APRIL, 5, 23, 238975.0); in TestBoundaries() 285 verifyMapping(*tempcal, 1997, Calendar::APRIL, 6, 0, 238976.0); in TestBoundaries() 286 verifyMapping(*tempcal, 1997, Calendar::APRIL, 6, 1, 238977.0); in TestBoundaries() 287 verifyMapping(*tempcal, 1997, Calendar::APRIL, 6, 3, 238978.0); in TestBoundaries() 301 if (tempcal != NULL) { in TestBoundaries() 304 tempcal->clear(); in TestBoundaries() [all …]
|
D | tzregts.cpp | 942 Calendar* tempcal = Calendar::createInstance(status); in Test4176686() local 943 tempcal->clear(); in Test4176686() 944 tempcal->set(1970, UCAL_FEBRUARY, 1); in Test4176686() 945 UDate dst = tempcal->getTime(status); // Time in DST in Test4176686() 946 tempcal->set(1970, UCAL_AUGUST, 1); in Test4176686() 947 UDate std = tempcal->getTime(status); // Time in standard in Test4176686() 983 delete tempcal; in Test4176686()
|