is_jalali_leap_year | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.