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

int32_t Calendar::getLeastMaximum ( UCalendarDateFields  field  )  const [virtual, inherited]

Gets the lowest maximum value for the given field if varies. Otherwise same as getMaximum(). e.g., for Gregorian DAY_OF_MONTH, 28.

Parameters:
field The given time field.
Returns:
The lowest maximum value for the given time field. ICU 2.6.

Definition at line 2142 of file calendar.cpp.

References Calendar::getLimit().

{
    return getLimit( field,UCAL_LIMIT_LEAST_MAXIMUM);
}


Generated by  Doxygen 1.6.0   Back to index