• Home
  • Raw
  • Download

Lines Matching refs:bestField

2880     int32_t bestField = UCAL_FIELD_COUNT;  in resolveFields()  local
2882 for (int32_t g=0; precedenceTable[g][0][0] != -1 && (bestField == UCAL_FIELD_COUNT); ++g) { in resolveFields()
2904 bestField = tempBestField; in resolveFields()
2907 bestField = tempBestField; in resolveFields()
2910 if (bestField == tempBestField) { in resolveFields()
2918 return (UCalendarDateFields)bestField; in resolveFields()
3226 UCalendarDateFields bestField = resolveFields(getFieldResolutionTable()); in computeJulianDay() local
3227 if (bestField == UCAL_FIELD_COUNT) { in computeJulianDay()
3228 bestField = UCAL_DAY_OF_MONTH; in computeJulianDay()
3231 return handleComputeJulianDay(bestField); in computeJulianDay()
3236 int32_t Calendar::handleComputeJulianDay(UCalendarDateFields bestField) { in handleComputeJulianDay() argument
3237 UBool useMonth = (bestField == UCAL_DAY_OF_MONTH || in handleComputeJulianDay()
3238 bestField == UCAL_WEEK_OF_MONTH || in handleComputeJulianDay()
3239 bestField == UCAL_DAY_OF_WEEK_IN_MONTH); in handleComputeJulianDay()
3242 if (bestField == UCAL_WEEK_OF_YEAR && newerField(UCAL_YEAR_WOY, UCAL_YEAR) == UCAL_YEAR_WOY) { in handleComputeJulianDay()
3251 fprintf(stderr, "%s:%d: bestField= %s - y=%d\n", __FILE__, __LINE__, fldName(bestField), year); in handleComputeJulianDay()
3268 if (bestField == UCAL_DAY_OF_MONTH) { in handleComputeJulianDay()
3280 if (bestField == UCAL_DAY_OF_YEAR) { in handleComputeJulianDay()
3310 if (bestField == UCAL_DAY_OF_WEEK_IN_MONTH) { in handleComputeJulianDay()
3335 fprintf(stderr, "%s:%d - bf= %s\n", __FILE__, __LINE__, fldName(bestField)); in handleComputeJulianDay()
3338 … if(bestField == UCAL_WEEK_OF_YEAR) { // ------------------------------------- WOY ------------- in handleComputeJulianDay()
3344 int32_t woy = internalGet(bestField); in handleComputeJulianDay()
3356 internalGet(bestField), resolveFields(kYearPrecedence), year+1, in handleComputeJulianDay()
3381 } else if(woy>=getLeastMaximum(bestField)) { in handleComputeJulianDay()
3423 date += 7 * (internalGet(bestField) - 1); in handleComputeJulianDay()
3472 …UCalendarDateFields bestField = resolveFields(kDatePrecedence); // !! Note: if subclasses have a d… in handleGetExtendedYearFromWeekFields() local
3515 switch(bestField) { in handleGetExtendedYearFromWeekFields()
3530 } else if(woy >= getLeastMaximum(bestField)) { in handleGetExtendedYearFromWeekFields()