Home | History | Annotate | Download | only in i18n

Lines Matching refs:startValue

3162 int32_t Calendar::getActualHelper(UCalendarDateFields field, int32_t startValue, int32_t endValue, UErrorCode &status) const
3165 fprintf(stderr, "getActualHelper(%d,%d .. %d, %s)\n", field, startValue, endValue, u_errorName(status));
3167 if (startValue == endValue) {
3169 return startValue;
3172 int32_t delta = (endValue > startValue) ? 1 : -1;
3176 if(U_FAILURE(status)) return startValue;
3178 if(!work) { status = U_MEMORY_ALLOCATION_ERROR; return startValue; }
3185 work->set(field, startValue);
3192 int32_t result = startValue;
3193 if ((work->get(field, status) != startValue
3196 fprintf(stderr, "getActualHelper(fld %d) - got %d (not %d) - %s\n", field, work->get(field,status), startValue, u_errorName(status));
3200 startValue += delta;
3202 if (work->get(field, status) != startValue || U_FAILURE(status)) {
3204 fprintf(stderr, "getActualHelper(fld %d) - got %d (not %d), BREAK - %s\n", field, work->get(field,status), startValue, u_errorName(status));
3208 result = startValue;
3209 } while (startValue != endValue);