Logo Search packages:      
Sourcecode: icu version File versions  Download package

int32_t Calendar::getMinimum ( EDateFields  field  )  const [virtual, inherited]

Gets the minimum value for the given time field. e.g., for Gregorian DAY_OF_MONTH, 1.

Parameters:
field The given time field.
Returns:
The minimum value for the given time field.
Deprecated:
ICU 2.6. Use getMinimum(UCalendarDateFields field) instead.

Definition at line 2098 of file calendar.cpp.

References Calendar::getLimit().

Referenced by GregorianCalendar::boundsCheck(), GregorianCalendar::getActualMinimum(), Calendar::getActualMinimum(), CalendarRegressionTest::test4118384(), Calendar::validateField(), and GregorianCalendar::validateFields().

                                            {
    return getLimit((UCalendarDateFields) field,UCAL_LIMIT_MINIMUM);
}


Generated by  Doxygen 1.6.0   Back to index