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

int32_t Calendar::handleGetMonthLength ( int32_t  extendedYear,
int32_t  month 
) const [protected, virtual, inherited]

Return the number of days in the given month of the given extended year of this calendar system. Subclasses should override this method if they can provide a more correct or more efficient implementation than the default implementation in Calendar.

For internal use only.

Reimplemented in ChineseCalendar, HebrewCalendar, IndianCalendar, IslamicCalendar, PersianCalendar, and GregorianCalendar.

Definition at line 2907 of file calendar.cpp.

References Calendar::handleComputeMonthStart(), and TRUE.

Referenced by Calendar::getActualMaximum(), Calendar::handleComputeJulianDay(), and Calendar::validateField().

    return handleComputeMonthStart(extendedYear, month+1, TRUE) -
        handleComputeMonthStart(extendedYear, month, TRUE);

Generated by  Doxygen 1.6.0   Back to index