Home | History | Annotate | Download | only in i18n

Lines Matching refs:startValue

3617 int32_t Calendar::getActualHelper(UCalendarDateFields field, int32_t startValue, int32_t endValue, UErrorCode &status) const
3620 fprintf(stderr, "getActualHelper(%d,%d .. %d, %s)\n", field, startValue, endValue, u_errorName(status));
3622 if (startValue == endValue) {
3624 return startValue;
3627 int32_t delta = (endValue > startValue) ? 1 : -1;
3631 if(U_FAILURE(status)) return startValue;
3633 if(!work) { status = U_MEMORY_ALLOCATION_ERROR; return startValue; }
3645 work->set(field, startValue);
3652 int32_t result = startValue;
3653 if ((work->get(field, status) != startValue
3656 fprintf(stderr, "getActualHelper(fld %d) - got %d (not %d) - %s\n", field, work->get(field,status), startValue, u_errorName(status));
3660 startValue += delta;
3662 if (work->get(field, status) != startValue || U_FAILURE(status)) {
3664 fprintf(stderr, "getActualHelper(fld %d) - got %d (not %d), BREAK - %s\n", field, work->get(field,status), startValue, u_errorName(status));
3668 result = startValue;
3669 } while (startValue != endValue);