is_eom {fmdates}R Documentation

Checks whether dates are last day of month

Description

This checks whether the dates provided are the last day of a month.

Usage

is_eom(dates)

Arguments

dates

a vector of dates.

Value

a logical vector

Examples

library("lubridate")
is_eom(ymd(20110228)) # TRUE
is_eom(ymd(20120229)) # TRUE

[Package fmdates version 0.1.4 Index]