Lines Matching refs:testMillis
493 double testMillis;
542 testMillis = -46447814188001000.0; // point where floorDivide in handleComputeFields failed as per #9403
543 log_verbose("using value[%lf]\n", testMillis);
545 ucal_setMillis(caldef3, testMillis, &status);
547 log_err("Fail: setMillis incorrectly detected invalid value : for millis : %e : returned : %s\n", testMillis, u_errorName(status));
552 testMillis = -184303902611600000.0;
553 log_verbose("using value[%lf]\n", testMillis);
555 ucal_setMillis(caldef3, testMillis, &status);
557 log_err("Fail: setMillis incorrectly detected invalid value : for millis : %e : returned : %s\n", testMillis, u_errorName(status));
561 if(testMillis == dateBit)
563 log_err("Fail: error in setMillis, allowed invalid value %e : returns millisecond : %d", testMillis, dateBit);
570 testMillis = -184303902611600000.0;
571 log_verbose("using value[%lf]\n", testMillis);
573 ucal_setMillis(caldef3, testMillis, &status);
575 log_verbose("Pass: Illegal argument error as expected : for millis : %e : returned : %s\n", testMillis, u_errorName(status));
579 log_err("Fail: error in setMillis, allowed invalid value %e : returns DayOfMonth : %d", testMillis, dateBit);