/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 398 Calendar tempcal = Calendar.getInstance(pst); in TestBoundaries() local 399 verifyMapping(tempcal, 1997, Calendar.APRIL, 3, 0, 238904.0); in TestBoundaries() 400 verifyMapping(tempcal, 1997, Calendar.APRIL, 4, 0, 238928.0); in TestBoundaries() 401 verifyMapping(tempcal, 1997, Calendar.APRIL, 5, 0, 238952.0); in TestBoundaries() 402 verifyMapping(tempcal, 1997, Calendar.APRIL, 5, 23, 238975.0); in TestBoundaries() 403 verifyMapping(tempcal, 1997, Calendar.APRIL, 6, 0, 238976.0); in TestBoundaries() 404 verifyMapping(tempcal, 1997, Calendar.APRIL, 6, 1, 238977.0); in TestBoundaries() 405 verifyMapping(tempcal, 1997, Calendar.APRIL, 6, 3, 238978.0); in TestBoundaries() 422 tempcal.clear(); in TestBoundaries() 423 tempcal.set(1997, Calendar.APRIL, 6); in TestBoundaries() [all …]
|
D | TimeZoneRegressionTest.java | 79 Calendar tempcal = Calendar.getInstance(); in Test4073215() local 80 tempcal.clear(); in Test4073215() 81 tempcal.setTimeZone(z); in Test4073215() 82 tempcal.set(1997, Calendar.JANUARY, 31); in Test4073215() 83 Date d1 = tempcal.getTime(); in Test4073215() 88 tempcal.set(1997, Calendar.MARCH, 1); in Test4073215() 89 Date d2 = tempcal.getTime(); in Test4073215() 93 tempcal.clear(); in Test4073215() 94 tempcal.set(1997, Calendar.MARCH, 31); in Test4073215() 95 Date d3 = tempcal.getTime(); in Test4073215() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/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 | TimeZoneRegressionTest.java | 76 Calendar tempcal = Calendar.getInstance(); in Test4073215() local 77 tempcal.clear(); in Test4073215() 78 tempcal.setTimeZone(z); in Test4073215() 79 tempcal.set(1997, Calendar.JANUARY, 31); in Test4073215() 80 Date d1 = tempcal.getTime(); in Test4073215() 85 tempcal.set(1997, Calendar.MARCH, 1); in Test4073215() 86 Date d2 = tempcal.getTime(); in Test4073215() 90 tempcal.clear(); in Test4073215() 91 tempcal.set(1997, Calendar.MARCH, 31); in Test4073215() 92 Date d3 = tempcal.getTime(); in Test4073215() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CalendarRegressionTest.java | 317 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in Test4070502() local 318 tempcal.clear(); in Test4070502() 319 tempcal.set(1998, 0, 30); in Test4070502() 320 Date d = getAssociatedDate(tempcal.getTime()); in Test4070502() 388 java.util.Calendar tempcal = java.util.Calendar.getInstance(javazone); in Test4071385() local 389 tempcal.clear(); in Test4071385() 390 tempcal.set(1998, Calendar.JUNE, 24); in Test4071385() 391 cal.setTime(tempcal.getTime()); in Test4071385() 394 tempcal.set(1998, Calendar.NOVEMBER, 24); in Test4071385() 395 if (!cal.getTime().equals(tempcal.getTime())) in Test4071385() [all …]
|
D | CompatibilityTest.java | 241 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestMapping() local 242 tempcal.clear(); in TestMapping() 243 tempcal.set(1582, Calendar.OCTOBER, 15); in TestMapping() 244 cal.setGregorianChange(tempcal.getTime()); in TestMapping() 275 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestGenericAPI() local 276 tempcal.clear(); in TestGenericAPI() 277 tempcal.set(1990, Calendar.APRIL, 15); in TestGenericAPI() 278 Date when = tempcal.getTime(); in TestGenericAPI() 352 tempcal.clear(); in TestGenericAPI() 353 tempcal.set(1984, 5, 24); in TestGenericAPI() [all …]
|
D | ChineseTest.java | 190 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestLimits() local 191 tempcal.clear(); in TestLimits() 192 tempcal.set(1989, Calendar.NOVEMBER, 1); in TestLimits() 194 doLimitsTest(chinese, null, tempcal.getTime()); in TestLimits() 275 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestFormat() local 276 tempcal.clear(); in TestFormat() 279 tempcal.set(2001, Calendar.MAY, 22); in TestFormat() 280 DATA[0] = tempcal.getTime(); in TestFormat() 281 tempcal.set(2001, Calendar.MAY, 23); in TestFormat() 282 DATA[1] = tempcal.getTime(); in TestFormat()
|
D | DangiTest.java | 168 Calendar tempcal = Calendar.getInstance(); in TestLimits() local 169 tempcal.clear(); in TestLimits() 170 tempcal.set(1989, Calendar.NOVEMBER, 1); in TestLimits() 172 doLimitsTest(dangi, null, tempcal.getTime()); in TestLimits()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CalendarRegressionTest.java | 314 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in Test4070502() local 315 tempcal.clear(); in Test4070502() 316 tempcal.set(1998, 0, 30); in Test4070502() 317 Date d = getAssociatedDate(tempcal.getTime()); in Test4070502() 385 java.util.Calendar tempcal = java.util.Calendar.getInstance(javazone); in Test4071385() local 386 tempcal.clear(); in Test4071385() 387 tempcal.set(1998, Calendar.JUNE, 24); in Test4071385() 388 cal.setTime(tempcal.getTime()); in Test4071385() 391 tempcal.set(1998, Calendar.NOVEMBER, 24); in Test4071385() 392 if (!cal.getTime().equals(tempcal.getTime())) in Test4071385() [all …]
|
D | CompatibilityTest.java | 238 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestMapping() local 239 tempcal.clear(); in TestMapping() 240 tempcal.set(1582, Calendar.OCTOBER, 15); in TestMapping() 241 cal.setGregorianChange(tempcal.getTime()); in TestMapping() 272 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestGenericAPI() local 273 tempcal.clear(); in TestGenericAPI() 274 tempcal.set(1990, Calendar.APRIL, 15); in TestGenericAPI() 275 Date when = tempcal.getTime(); in TestGenericAPI() 349 tempcal.clear(); in TestGenericAPI() 350 tempcal.set(1984, 5, 24); in TestGenericAPI() [all …]
|
D | ChineseTest.java | 187 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestLimits() local 188 tempcal.clear(); in TestLimits() 189 tempcal.set(1989, Calendar.NOVEMBER, 1); in TestLimits() 191 doLimitsTest(chinese, null, tempcal.getTime()); in TestLimits() 272 java.util.Calendar tempcal = java.util.Calendar.getInstance(); in TestFormat() local 273 tempcal.clear(); in TestFormat() 276 tempcal.set(2001, Calendar.MAY, 22); in TestFormat() 277 DATA[0] = tempcal.getTime(); in TestFormat() 278 tempcal.set(2001, Calendar.MAY, 23); in TestFormat() 279 DATA[1] = tempcal.getTime(); in TestFormat()
|
D | DangiTest.java | 165 Calendar tempcal = Calendar.getInstance(); in TestLimits() local 166 tempcal.clear(); in TestLimits() 167 tempcal.set(1989, Calendar.NOVEMBER, 1); in TestLimits() 169 doLimitsTest(dangi, null, tempcal.getTime()); in TestLimits()
|
/external/icu/icu4c/source/test/intltest/ |
D | tzbdtest.cpp | 281 Calendar* tempcal = Calendar::createInstance(pst, status); in TestBoundaries() local 283 verifyMapping(*tempcal, 1997, Calendar::APRIL, 3, 0, 238904.0); in TestBoundaries() 284 verifyMapping(*tempcal, 1997, Calendar::APRIL, 4, 0, 238928.0); in TestBoundaries() 285 verifyMapping(*tempcal, 1997, Calendar::APRIL, 5, 0, 238952.0); in TestBoundaries() 286 verifyMapping(*tempcal, 1997, Calendar::APRIL, 5, 23, 238975.0); in TestBoundaries() 287 verifyMapping(*tempcal, 1997, Calendar::APRIL, 6, 0, 238976.0); in TestBoundaries() 288 verifyMapping(*tempcal, 1997, Calendar::APRIL, 6, 1, 238977.0); in TestBoundaries() 289 verifyMapping(*tempcal, 1997, Calendar::APRIL, 6, 3, 238978.0); in TestBoundaries() 303 if (tempcal != NULL) { in TestBoundaries() 306 tempcal->clear(); in TestBoundaries() [all …]
|
D | tzregts.cpp | 944 LocalPointer<Calendar> tempcal(Calendar::createInstance(status)); in Test4176686() local 945 tempcal->clear(); in Test4176686() 946 tempcal->set(1970, UCAL_FEBRUARY, 1); in Test4176686() 947 UDate dst = tempcal->getTime(status); // Time in DST in Test4176686() 948 tempcal->set(1970, UCAL_AUGUST, 1); in Test4176686() 949 UDate std = tempcal->getTime(status); // Time in standard in Test4176686()
|