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