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

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

Return the length (in days) of the given month.

Parameters:
year The hijri shamsi year
year The hijri shamsi month, 0-based

For internal use only.

Return the length (in days) of the given month.

Parameters:
year The hijri shamsi year
year The hijri shamsi month, 0-based

Reimplemented from Calendar.

Definition at line 299 of file persncal.cpp.

References isLeapYear().

                                                                                       {
    return MONTH_COUNT[month][PersianCalendar::isLeapYear(extendedYear)?1:0];
}


Generated by  Doxygen 1.6.0   Back to index