Home | History | Annotate | Download | only in i18n

Lines Matching refs:field

74 // range limit on the year field is smaller (~ +/-140000). [alan 3.0]
107 * Field name Minimum Minimum Maximum Maximum
646 for (int32_t field = 0; field < UCAL_FIELD_COUNT; field++) {
648 if (field != UCAL_DATE &&
649 field != UCAL_DAY_OF_YEAR &&
650 isSet((UCalendarDateFields)field) &&
651 ! boundsCheck(internalGet((UCalendarDateFields)field), (UCalendarDateFields)field))
685 GregorianCalendar::boundsCheck(int32_t value, UCalendarDateFields field) const
687 return value >= getMinimum(field) && value <= getMaximum(field);
759 // * Compute the DOY using the WEEK_OF_YEAR field and the julian day
812 * Roll a field by a signed amount.
817 GregorianCalendar::roll(EDateFields field, int32_t amount, UErrorCode& status) {
818 roll((UCalendarDateFields) field, amount, status);
822 GregorianCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status)
836 switch (field) {
858 switch (field) {
905 Calendar::roll(field, amount, status);
928 Calendar::roll(field, amount, status);
1021 // Set the DAY_OF_MONTH. We rely on the fact that this field
1036 Calendar::roll(field, amount, status);
1045 * Return the minimum value that this field could have, given the current date.
1047 * @param field the time field.
1048 * @return the minimum value that this field could have, given the current date.
1049 * @deprecated ICU 2.6. Use getActualMinimum(UCalendarDateFields field) instead.
1051 int32_t GregorianCalendar::getActualMinimum(EDateFields field) const
1053 return getMinimum((UCalendarDateFields)field);
1056 int32_t GregorianCalendar::getActualMinimum(EDateFields field, UErrorCode& /* status */) const
1058 return getMinimum((UCalendarDateFields)field);
1062 * Return the minimum value that this field could have, given the current date.
1064 * @param field the time field.
1065 * @return the minimum value that this field could have, given the current date.
1068 int32_t GregorianCalendar::getActualMinimum(UCalendarDateFields field, UErrorCode& /* status */) const
1070 return getMinimum(field);
1083 int32_t GregorianCalendar::handleGetLimit(UCalendarDateFields field, ELimitType limitType) const {
1084 return kGregorianCalendarLimits[field][limitType];
1088 * Return the maximum value that this field could have, given the current date.
1089 * For example, with the date "Feb 3, 1997" and the DAY_OF_MONTH field, the actual
1094 int32_t GregorianCalendar::getActualMaximum(UCalendarDateFields field, UErrorCode& status) const
1099 * field). That's because the ends of the representable range are at
1115 switch (field) {
1122 * this field.
1171 return Calendar::getActualMaximum(field,status);