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

UBool PersianCalendar::isLeapYear ( int32_t  year) [static, private]

Determine whether a year is a leap year in the Persian calendar

Definition at line 265 of file persncal.cpp.

Referenced by handleGetMonthLength(), and handleGetYearLength().

    return jalali_to_julian(year+1,1,1)-jalali_to_julian(year,1,1) == 366;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index