Lines Matching refs:UCalendarDateFields
104 * convert a UCalendarDateFields into a string - for debugging
110 const char* fldName(UCalendarDateFields f) {
131 const char *f = fldName((UCalendarDateFields)i);
1166 Calendar::get(UCalendarDateFields field, UErrorCode& status) const
1178 Calendar::set(UCalendarDateFields field, int32_t value)
1375 Calendar::clear(UCalendarDateFields field)
1390 Calendar::isSet(UCalendarDateFields field) const
1396 int32_t Calendar::newestStamp(UCalendarDateFields first, UCalendarDateFields last, int32_t bestStampSoFar) const
1463 void Calendar::pinField(UCalendarDateFields field, UErrorCode& status) {
1730 roll((UCalendarDateFields)field, amount, status);
1733 void Calendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status)
2075 Calendar::add((UCalendarDateFields)field, amount, status);
2079 void Calendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status)
2261 return fieldDifference(when, (UCalendarDateFields) field, status);
2264 int32_t Calendar::fieldDifference(UDate targetMs, UCalendarDateFields field, UErrorCode& ec) {
2622 return getLimit((UCalendarDateFields) field,UCAL_LIMIT_MINIMUM);
2626 Calendar::getMinimum(UCalendarDateFields field) const
2635 return getLimit((UCalendarDateFields) field,UCAL_LIMIT_MAXIMUM);
2639 Calendar::getMaximum(UCalendarDateFields field) const
2648 return getLimit((UCalendarDateFields)field,UCAL_LIMIT_GREATEST_MINIMUM);
2652 Calendar::getGreatestMinimum(UCalendarDateFields field) const
2661 return getLimit((UCalendarDateFields) field,UCAL_LIMIT_LEAST_MAXIMUM);
2665 Calendar::getLeastMaximum(UCalendarDateFields field) const
2674 return getActualMinimum((UCalendarDateFields) field, status);
2677 int32_t Calendar::getLimit(UCalendarDateFields field, ELimitType limitType) const {
2719 Calendar::getActualMinimum(UCalendarDateFields field, UErrorCode& status) const
2777 validateField((UCalendarDateFields)field, status);
2789 void Calendar::validateField(UCalendarDateFields field, UErrorCode &status) {
2824 void Calendar::validateField(UCalendarDateFields field, int32_t min, int32_t max, UErrorCode& status)
2844 UCalendarDateFields Calendar::newerField(UCalendarDateFields defaultField, UCalendarDateFields alternateField) const
2852 UCalendarDateFields Calendar::resolveFields(const UFieldResolutionTable* precedenceTable) {
2891 return (UCalendarDateFields)bestField;
3199 UCalendarDateFields bestField = resolveFields(getFieldResolutionTable());
3209 int32_t Calendar::handleComputeJulianDay(UCalendarDateFields bestField) {
3445 UCalendarDateFields bestField = resolveFields(kDatePrecedence); // !! Note: if subclasses have a different table, they should override handleGetExtendedYearFromWeekFields
3562 Calendar::getActualMaximum(UCalendarDateFields field, UErrorCode& status) const
3636 void Calendar::prepareGetActual(UCalendarDateFields field, UBool isMinimum, UErrorCode &status)
3688 int32_t Calendar::getActualHelper(UCalendarDateFields field, int32_t startValue, int32_t endValue, UErrorCode &status) const
3911 internalSet((UCalendarDateFields) field, value);