Home | History | Annotate | Download | only in i18n

Lines Matching defs:bestField

2449     int32_t bestField = UCAL_FIELD_COUNT;
2450 for (int32_t g=0; precedenceTable[g][0][0] != -1 && (bestField == UCAL_FIELD_COUNT); ++g) {
2467 bestField = precedenceTable[g][l][0]; // First field refers to entire line
2473 return (UCalendarDateFields)( (bestField>=kResolveRemap)?(bestField&(kResolveRemap-1)):bestField );
2668 UCalendarDateFields bestField = resolveFields(getFieldResolutionTable());
2669 if (bestField == UCAL_FIELD_COUNT) {
2670 bestField = UCAL_DAY_OF_MONTH;
2673 return handleComputeJulianDay(bestField);
2678 int32_t Calendar::handleComputeJulianDay(UCalendarDateFields bestField) {
2679 UBool useMonth = (bestField == UCAL_DAY_OF_MONTH ||
2680 bestField == UCAL_WEEK_OF_MONTH ||
2681 bestField == UCAL_DAY_OF_WEEK_IN_MONTH);
2684 if (bestField == UCAL_WEEK_OF_YEAR) {
2693 fprintf(stderr, "%s:%d: bestField= %s - y=%d\n", __FILE__, __LINE__, fldName(bestField), year);
2710 if (bestField == UCAL_DAY_OF_MONTH) {
2722 if (bestField == UCAL_DAY_OF_YEAR) {
2752 if (bestField == UCAL_DAY_OF_WEEK_IN_MONTH) {
2777 fprintf(stderr, "%s:%d - bf= %s\n", __FILE__, __LINE__, fldName(bestField));
2780 if(bestField == UCAL_WEEK_OF_YEAR) { // ------------------------------------- WOY -------------
2786 int32_t woy = internalGet(bestField);
2798 internalGet(bestField), resolveFields(kYearPrecedence), year+1,
2823 } else if(woy>=getLeastMaximum(bestField)) {
2856 } /* bestfield != week_of_year */
2858 // assert(bestField == WEEK_OF_MONTH || bestField == WEEK_OF_YEAR)
2865 date += 7 * (internalGet(bestField) - 1);
2914 UCalendarDateFields bestField = resolveFields(kDatePrecedence); // !! Note: if subclasses have a different table, they should override handleGetExtendedYearFromWeekFields
2955 switch(bestField) {
2970 } else if(woy >= getLeastMaximum(bestField)) {
3020 fprintf(stderr, "%s:%d - forgot a return on field %s\n", __FILE__, __LINE__, fldName(bestField));