Home | History | Annotate | Download | only in i18n

Lines Matching full:startvalue

3449 int32_t Calendar::getActualHelper(UCalendarDateFields field, int32_t startValue, int32_t endValue, UErrorCode &status) const
3452 fprintf(stderr, "getActualHelper(%d,%d .. %d, %s)\n", field, startValue, endValue, u_errorName(status));
3454 if (startValue == endValue) {
3456 return startValue;
3459 int32_t delta = (endValue > startValue) ? 1 : -1;
3463 if(U_FAILURE(status)) return startValue;
3465 if(!work) { status = U_MEMORY_ALLOCATION_ERROR; return startValue; }
3477 work->set(field, startValue);
3484 int32_t result = startValue;
3485 if ((work->get(field, status) != startValue
3488 fprintf(stderr, "getActualHelper(fld %d) - got %d (not %d) - %s\n", field, work->get(field,status), startValue, u_errorName(status));
3492 startValue += delta;
3494 if (work->get(field, status) != startValue || U_FAILURE(status)) {
3496 fprintf(stderr, "getActualHelper(fld %d) - got %d (not %d), BREAK - %s\n", field, work->get(field,status), startValue, u_errorName(status));
3500 result = startValue;
3501 } while (startValue != endValue);