Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dccaltst.c499 double testMillis; in TestGetSetDateAPI() local
548testMillis = -46447814188001000.0; // point where floorDivide in handleComputeFields failed as per… in TestGetSetDateAPI()
549 log_verbose("using value[%lf]\n", testMillis); in TestGetSetDateAPI()
551 ucal_setMillis(caldef3, testMillis, &status); in TestGetSetDateAPI()
553 …orrectly detected invalid value : for millis : %e : returned : %s\n", testMillis, u_errorName(sta… in TestGetSetDateAPI()
558 testMillis = -184303902611600000.0; in TestGetSetDateAPI()
559 log_verbose("using value[%lf]\n", testMillis); in TestGetSetDateAPI()
561 ucal_setMillis(caldef3, testMillis, &status); in TestGetSetDateAPI()
563 …orrectly detected invalid value : for millis : %e : returned : %s\n", testMillis, u_errorName(sta… in TestGetSetDateAPI()
567 if(testMillis == dateBit) in TestGetSetDateAPI()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcallimts.cpp342 UDate testMillis = greg.getTime(status); in doLimitsTest() local
343 cal.setTime(testMillis, status); in doLimitsTest()
392 testMillis >= 1865635198000.0 && in doLimitsTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegression.java2312 long dateBit1, dateBit2, testMillis = 0L;
2315 testMillis = -184303902611600000L;
2316 logln("Testing invalid setMillis value in lienent mode - using value: " + testMillis);
2319 myCal.setTimeInMillis(testMillis);
2326 assertNotEquals("Fail: millis not changed to MIN_MILLIS", testMillis, dateBit1);
2329 logln("Testing invalid setMillis value in strict mode - using value: " + testMillis);
2332 myCal.setTimeInMillis(testMillis);
2339 …assertFalse("Fail: error in setMillis, allowed invalid value : " + testMillis + "...returned dayOf…