dtt_leap_year: Test for Leap Year

Description Usage Arguments Value See Also Examples

View source: R/leap-year.R

Description

Tests whether each year is a leap year.

Usage

1

Arguments

x

A date/time vector.

Value

A logical vector indicating whether each year is a leap year.

See Also

Other leap year: dtt_feb29_to_28()

Examples

1
dtt_leap_year(as.Date("1999-03-04", "2000-02-01"))

dttr2 documentation built on Sept. 19, 2021, 9:06 a.m.