Home
last modified time | relevance | path

Searched refs:testMillis (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dcallimts.cpp378 UDate testMillis = greg.getTime(status); in doLimitsTest() local
379 cal.setTime(testMillis, status); in doLimitsTest()
420 testMillis >= 2842992000000.0 && testMillis <= 2906668800000.0 && in doLimitsTest()
438 testMillis >= 1865635198000.0 && in doLimitsTest()
447 testMillis >= 2842992000000.0 && testMillis <= 2906668800000.0 && in doLimitsTest()
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c507 double testMillis; in TestGetSetDateAPI() local
556testMillis = -46447814188001000.0; // point where floorDivide in handleComputeFields failed as per… in TestGetSetDateAPI()
557 log_verbose("using value[%lf]\n", testMillis); in TestGetSetDateAPI()
559 ucal_setMillis(caldef3, testMillis, &status); in TestGetSetDateAPI()
561 …orrectly detected invalid value : for millis : %e : returned : %s\n", testMillis, u_errorName(sta… in TestGetSetDateAPI()
566 testMillis = -184303902611600000.0; in TestGetSetDateAPI()
567 log_verbose("using value[%lf]\n", testMillis); in TestGetSetDateAPI()
569 ucal_setMillis(caldef3, testMillis, &status); in TestGetSetDateAPI()
571 …orrectly detected invalid value : for millis : %e : returned : %s\n", testMillis, u_errorName(sta… in TestGetSetDateAPI()
575 if(testMillis == dateBit) in TestGetSetDateAPI()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegressionTest.java2370 long dateBit1, dateBit2, testMillis = 0L;
2373 testMillis = -184303902611600000L;
2374 logln("Testing invalid setMillis value in lienent mode - using value: " + testMillis);
2377 myCal.setTimeInMillis(testMillis);
2384 assertNotEquals("Fail: millis not changed to MIN_MILLIS", testMillis, dateBit1);
2387 logln("Testing invalid setMillis value in strict mode - using value: " + testMillis);
2390 myCal.setTimeInMillis(testMillis);
2397 …assertFalse("Fail: error in setMillis, allowed invalid value : " + testMillis + "...returned dayOf…
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java2369 long dateBit1, dateBit2, testMillis = 0L;
2372 testMillis = -184303902611600000L;
2373 logln("Testing invalid setMillis value in lienent mode - using value: " + testMillis);
2376 myCal.setTimeInMillis(testMillis);
2383 assertNotEquals("Fail: millis not changed to MIN_MILLIS", testMillis, dateBit1);
2386 logln("Testing invalid setMillis value in strict mode - using value: " + testMillis);
2389 myCal.setTimeInMillis(testMillis);
2396 …assertFalse("Fail: error in setMillis, allowed invalid value : " + testMillis + "...returned dayOf…