Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dcalendar.cpp2880 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()
[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/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/android_icu4j/src/main/java/android/icu/util/
DCalendar.java5106 int bestField = -1; in resolveFields() local
5108 for (int g=0; g<precedenceTable.length && bestField < 0; ++g) { in resolveFields()
5132 bestField = tempBestField; in resolveFields()
5135 bestField = tempBestField; in resolveFields()
5138 if (bestField == tempBestField) { in resolveFields()
5144 return (bestField>=RESOLVE_REMAP)?(bestField&(RESOLVE_REMAP-1)):bestField; in resolveFields()
5678 int bestField = resolveFields(getFieldResolutionTable()); in computeJulianDay() local
5679 if (bestField < 0) { in computeJulianDay()
5680 bestField = DAY_OF_MONTH; in computeJulianDay()
5683 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/icu4c/source/i18n/unicode/
Dgregocal.h525 virtual int32_t handleComputeJulianDay(UCalendarDateFields bestField) ;
Dcalendar.h1706 virtual int32_t handleComputeJulianDay(UCalendarDateFields bestField);