Lines Matching full:roll
366 logln("cal->roll(UCAL_SECOND)");
367 cal->roll(UCAL_SECOND, (UBool) TRUE, status);
369 cal->roll(UCAL_SECOND, (int32_t)0, status);
371 if (failure(status, "Calendar::roll")) return;
377 errln("FAIL: equals[%c]/before[%c]/after[%c] failed after roll 1 second [should be T/F/F]",
385 // Roll back to January
386 cal->roll(UCAL_MONTH, (int32_t)(1 + UCAL_DECEMBER - cal->get(UCAL_MONTH, status)), status);
387 if (failure(status, "Calendar::roll")) return;
469 cal3->roll(Calendar::SECOND, (int32_t)0, status);
470 if (failure(status, "Calendar::roll(EDateFields, int32_t, UErrorCode)")) return;
542 ((Calendar *)cal)->roll(UCAL_HOUR, (int32_t)100, status);
556 cal->roll(Calendar::MONTH, (int32_t)100, status);
1064 logln("Testing GregorianCalendar roll...");
1072 temp->roll(e, 1, status);
1074 logln("caltest.cpp:%d e=%d, i=%d - roll(+) err %s\n", __LINE__, (int) e, (int) i, u_errorName(status));
1082 temp->roll(e, -1, status);
1083 if (U_FAILURE(status)) { errln(UnicodeString("GregorianCalendar::roll ") + CalendarTest::fieldName(e) + " count=" + UnicodeString('@'+i) + " by -1 failed with " + u_errorName(status) ); return; }
1586 cal->roll(field,(int32_t)1,errorCode);
1587 if (U_FAILURE(errorCode)) { errln("Error in roll"); delete calclone; return; }
1588 calclone->roll(field2,(int32_t)1,errorCode);
1589 if (U_FAILURE(errorCode)) { errln("Error in roll"); delete calclone; return; }
1592 errln("Results of roll differ!");
1922 // Roll the DOW_LOCAL within week 52
1926 str = "roll(";
1933 cal.roll(UCAL_DOW_LOCAL, amount, status);
1934 CHECK(status, "Fail: roll failed");