Home | History | Annotate | Download | only in cintltst

Lines Matching refs:ucal_roll

971     log_verbose("\nTesting to confirm that ucal_roll() works\n");
972 ucal_roll(cal, UCAL_DATE, -1, &status);
973 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; }
976 ucal_roll(cal, UCAL_MONTH, -2, &status);
977 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; }
980 ucal_roll(cal, UCAL_DATE, 1, &status);
981 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; }
984 ucal_roll(cal, UCAL_MONTH, -12, &status);
985 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; }
987 ucal_roll(cal, UCAL_YEAR, -1, &status);
988 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; }
991 ucal_roll(cal, UCAL_DATE, 29, &status);
992 if (U_FAILURE(status)) { log_err("ucal_roll failed: %s\n", u_errorName(status) ); return; }
995 ucal_roll(cal, (UCalendarDateFields)-1, 10, &status);
1017 log_verbose("\nTesting the ucal_add() and ucal_roll() functions extensively\n");
1051 log_verbose("\nTesting calendar ucal_roll()...\n");
1056 ucal_roll(cal, e, 1, &status);
1063 ucal_roll(cal, e, -1, &status);
1065 log_err("ucal_roll -1 failed: %s\n", u_errorName(status));
2108 ucal_roll(ucalTest, UCAL_YEAR, 1, &status);
2123 ucal_roll(ucalTest, UCAL_YEAR, 1, &status); /* roll forward in time to era 0 boundary */
2138 ucal_roll(ucalTest, UCAL_YEAR, -2, &status);
2186 ucal_roll(ucalTest, UCAL_YEAR, 1, &status);
2200 ucal_roll(ucalTest, UCAL_YEAR, -1, &status); /* roll down which should pin or wrap to end */
2217 ucal_roll(ucalTest, UCAL_YEAR, 1, &status); /* now roll up which should wrap to beginning */
2238 ucal_roll(ucalTest, UCAL_YEAR, -1, &status);
2255 ucal_roll(ucalTest, UCAL_YEAR, 1, &status); /* now roll up which should wrap to beginning */