Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dcalendar.cpp2864 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()
[all …]
Dgregocal.cpp473 int32_t GregorianCalendar::handleComputeJulianDay(UCalendarDateFields bestField) in handleComputeJulianDay() argument
477 int32_t jd = Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay()
479 …if((bestField == UCAL_WEEK_OF_YEAR) && // if we are doing WOY calculations, we are counting relat… in handleComputeJulianDay()
483 return Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay()
496 jd = Calendar::handleComputeJulianDay(bestField); in handleComputeJulianDay()
506 __FILE__, __LINE__, jd, fIsGregorian?"T":"F", fInvertGregorian?"T":"F", bestField); in handleComputeJulianDay()
512 if (bestField == UCAL_DAY_OF_YEAR) { in handleComputeJulianDay()
515 __FILE__, __LINE__, fFields[bestField],jd, gregShift); in handleComputeJulianDay()
518 } else if ( bestField == UCAL_WEEK_OF_MONTH ) { in handleComputeJulianDay()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java5105 int bestField = -1; in resolveFields() local
5107 for (int g=0; g<precedenceTable.length && bestField < 0; ++g) { in resolveFields()
5131 bestField = tempBestField; in resolveFields()
5134 bestField = tempBestField; in resolveFields()
5137 if (bestField == tempBestField) { in resolveFields()
5143 return (bestField>=RESOLVE_REMAP)?(bestField&(RESOLVE_REMAP-1)):bestField; in resolveFields()
5677 int bestField = resolveFields(getFieldResolutionTable()); in computeJulianDay() local
5678 if (bestField < 0) { in computeJulianDay()
5679 bestField = DAY_OF_MONTH; in computeJulianDay()
5682 return handleComputeJulianDay(bestField); in computeJulianDay()
[all …]
DGregorianCalendar.java806 protected int handleComputeJulianDay(int bestField) { in handleComputeJulianDay() argument
810 int jd = super.handleComputeJulianDay(bestField); in handleComputeJulianDay()
816 jd = super.handleComputeJulianDay(bestField); in handleComputeJulianDay()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java5272 int bestField = -1; in resolveFields() local
5274 for (int g=0; g<precedenceTable.length && bestField < 0; ++g) { in resolveFields()
5298 bestField = tempBestField; in resolveFields()
5301 bestField = tempBestField; in resolveFields()
5304 if (bestField == tempBestField) { in resolveFields()
5310 return (bestField>=RESOLVE_REMAP)?(bestField&(RESOLVE_REMAP-1)):bestField; in resolveFields()
5852 int bestField = resolveFields(getFieldResolutionTable()); in computeJulianDay() local
5853 if (bestField < 0) { in computeJulianDay()
5854 bestField = DAY_OF_MONTH; in computeJulianDay()
5857 return handleComputeJulianDay(bestField); in computeJulianDay()
[all …]
DGregorianCalendar.java833 protected int handleComputeJulianDay(int bestField) { in handleComputeJulianDay() argument
837 int jd = super.handleComputeJulianDay(bestField); in handleComputeJulianDay()
843 jd = super.handleComputeJulianDay(bestField); in handleComputeJulianDay()
/external/icu/icu4c/source/i18n/unicode/
Dgregocal.h521 virtual int32_t handleComputeJulianDay(UCalendarDateFields bestField) ;
Dcalendar.h1689 virtual int32_t handleComputeJulianDay(UCalendarDateFields bestField);