isLeapYear: Check whether a Gregorian calendar year is a leap year

View source: R/time.R

isLeapYearR Documentation

Check whether a Gregorian calendar year is a leap year

Description

Check whether a Gregorian calendar year is a leap year

Usage

isLeapYear(y)

Arguments

y

An integer value. A Gregorian calendar year.

Examples

isFALSE(isLeapYear(1900))
isTRUE(isLeapYear(1980))
isTRUE(isLeapYear(2000))


DrylandEcology/rSW2utils documentation built on Dec. 9, 2023, 10:44 p.m.