is_gregorian_leap_year: check Gregorian leap year

View source: R/26_jalalidate_other_functions.R

is_gregorian_leap_yearR Documentation

check Gregorian leap year

Description

check if a Gregorian year is leap year

Usage

is_gregorian_leap_year(year)

Arguments

year

double

Value

logical

Examples

is_gregorian_leap_year(c(2000, 2001, 2002))
# [1] TRUE FALSE FALSE


RJalaliDate documentation built on Sept. 11, 2024, 8:26 p.m.