Home
last modified time | relevance | path

Searched refs:bestField (Results 1 – 4 of 4) sorted by relevance

/external/icu4c/i18n/
Dcalendar.cpp2203 int32_t bestField = UCAL_FIELD_COUNT; in resolveFields() local
2204 for (int32_t g=0; precedenceTable[g][0][0] != -1 && (bestField == UCAL_FIELD_COUNT); ++g) { in resolveFields()
2221 bestField = precedenceTable[g][l][0]; // First field refers to entire line in resolveFields()
2227 …return (UCalendarDateFields)( (bestField>=kResolveRemap)?(bestField&(kResolveRemap-1)):bestField in resolveFields()
2422 UCalendarDateFields bestField = resolveFields(getFieldResolutionTable()); in computeJulianDay() local
2423 if (bestField == UCAL_FIELD_COUNT) { in computeJulianDay()
2424 bestField = UCAL_DAY_OF_MONTH; in computeJulianDay()
2427 return handleComputeJulianDay(bestField); in computeJulianDay()
2432 int32_t Calendar::handleComputeJulianDay(UCalendarDateFields bestField) { in handleComputeJulianDay() argument
2433 UBool useMonth = (bestField == UCAL_DAY_OF_MONTH || in handleComputeJulianDay()
[all …]
Dgregocal.cpp470 int32_t GregorianCalendar::handleComputeJulianDay(UCalendarDateFields bestField) in handleComputeJulianDay() argument
474 int32_t jd = Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay()
476 …if((bestField == UCAL_WEEK_OF_YEAR) && // if we are doing WOY calculations, we are counting relat… in handleComputeJulianDay()
480 return Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay()
493 jd = Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay()
503 __FILE__, __LINE__, jd, fIsGregorian?"T":"F", fInvertGregorian?"T":"F", bestField); in handleComputeJulianDay()
509 if (bestField == UCAL_DAY_OF_YEAR) { in handleComputeJulianDay()
512 __FILE__, __LINE__, fFields[bestField],jd, gregShift); in handleComputeJulianDay()
515 } else if ( bestField == UCAL_WEEK_OF_MONTH ) { in handleComputeJulianDay()
/external/icu4c/i18n/unicode/
Dgregocal.h519 virtual int32_t handleComputeJulianDay(UCalendarDateFields bestField) ;
Dcalendar.h1428 virtual int32_t handleComputeJulianDay(UCalendarDateFields bestField);