LeapYear: Checks Whether A Year Is Leap Year

View source: R/LeapYear.R

LeapYearR Documentation

Checks Whether A Year Is Leap Year

Description

This function tells whether a year is a leap year or not.

Usage

LeapYear(year)

Arguments

year

A numeric value indicating the year in the Gregorian calendar.

Value

Boolean telling whether the year is a leap year or not.

Author(s)

History:
0.1 - 2011-03 (V. Guemas) - Original code
1.0 - 2013-09 (N. Manubens) - Formatting to CRAN

Examples

print(LeapYear(1990))
print(LeapYear(1991))
print(LeapYear(1992))
print(LeapYear(1993))

s2dverification documentation built on April 20, 2022, 9:06 a.m.