Lines Matching refs:bestField
2864 int32_t bestField = UCAL_FIELD_COUNT; in resolveFields() local
2866 for (int32_t g=0; precedenceTable[g][0][0] != -1 && (bestField == UCAL_FIELD_COUNT); ++g) { in resolveFields()
2888 bestField = tempBestField; in resolveFields()
2891 bestField = tempBestField; in resolveFields()
2894 if (bestField == tempBestField) { in resolveFields()
2902 return (UCalendarDateFields)bestField; in resolveFields()
3210 UCalendarDateFields bestField = resolveFields(getFieldResolutionTable()); in computeJulianDay() local
3211 if (bestField == UCAL_FIELD_COUNT) { in computeJulianDay()
3212 bestField = UCAL_DAY_OF_MONTH; in computeJulianDay()
3215 return handleComputeJulianDay(bestField); in computeJulianDay()
3220 int32_t Calendar::handleComputeJulianDay(UCalendarDateFields bestField) { in handleComputeJulianDay() argument
3221 UBool useMonth = (bestField == UCAL_DAY_OF_MONTH || in handleComputeJulianDay()
3222 bestField == UCAL_WEEK_OF_MONTH || in handleComputeJulianDay()
3223 bestField == UCAL_DAY_OF_WEEK_IN_MONTH); in handleComputeJulianDay()
3226 if (bestField == UCAL_WEEK_OF_YEAR && newerField(UCAL_YEAR_WOY, UCAL_YEAR) == UCAL_YEAR_WOY) { in handleComputeJulianDay()
3235 fprintf(stderr, "%s:%d: bestField= %s - y=%d\n", __FILE__, __LINE__, fldName(bestField), year); in handleComputeJulianDay()
3252 if (bestField == UCAL_DAY_OF_MONTH) { in handleComputeJulianDay()
3264 if (bestField == UCAL_DAY_OF_YEAR) { in handleComputeJulianDay()
3294 if (bestField == UCAL_DAY_OF_WEEK_IN_MONTH) { in handleComputeJulianDay()
3319 fprintf(stderr, "%s:%d - bf= %s\n", __FILE__, __LINE__, fldName(bestField)); in handleComputeJulianDay()
3322 … if(bestField == UCAL_WEEK_OF_YEAR) { // ------------------------------------- WOY ------------- in handleComputeJulianDay()
3328 int32_t woy = internalGet(bestField); in handleComputeJulianDay()
3340 internalGet(bestField), resolveFields(kYearPrecedence), year+1, in handleComputeJulianDay()
3365 } else if(woy>=getLeastMaximum(bestField)) { in handleComputeJulianDay()
3407 date += 7 * (internalGet(bestField) - 1); in handleComputeJulianDay()
3456 …UCalendarDateFields bestField = resolveFields(kDatePrecedence); // !! Note: if subclasses have a d… in handleGetExtendedYearFromWeekFields() local
3499 switch(bestField) { in handleGetExtendedYearFromWeekFields()
3514 } else if(woy >= getLeastMaximum(bestField)) { in handleGetExtendedYearFromWeekFields()