is_jalali_leap_year {RJalaliDate} | R Documentation |
check if a Jalali year is leap year
is_jalali_leap_year(year)
year |
double |
for details of calculation see https://learn.microsoft.com/en-us/dotnet/fundamentals/runtime-libraries/system-globalization-persiancalendar
logical
is_jalali_leap_year(c(1402, 1403, 1404))
# [1] FALSE TRUE FALSE