util.isLeapYear {phenmod}R Documentation

Leap year check

Description

Checks wether a given year is a leap year or not.

Usage

util.isLeapYear(year)

Arguments

year

A year or vector of years to check.

Details

This function checks wether a year (yyyy) is a leap year or not.

Value

Returns a boolean vector determining wether the given years are leap years (TRUE) or not (FALSE).

Author(s)

Daniel Doktor, Maximilian Lange

Examples

  util.isLeapYear(2000:2012)

[Package phenmod version 1.2-7 Index]