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

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

Gets the maximum value for the given time field. e.g. for Gregorian DAY_OF_MONTH, 31.

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

Definition at line 2116 of file calendar.cpp.

References Calendar::getLimit().

{
    return getLimit(field,UCAL_LIMIT_MAXIMUM);
}


Generated by  Doxygen 1.6.0   Back to index