dtt_leap_year: Test for Leap Year

View source: R/leap-year.R

dtt_leap_yearR Documentation

Test for Leap Year

Description

Tests whether each year is a leap year.

Usage

dtt_leap_year(x)

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

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

dttr2 documentation built on Sept. 26, 2024, 1:06 a.m.