R/after-day.R, R/before-day.R, R/between-day.R, and 2 more
event-yday.Rdon_day() / on_yday(): Is the date on the x-th day of the year?
before_day() / before_yday(): Is the date before the x-th day of
the year?
after_day() / after_yday(): Is the date after the x-th day of
the year?
between_days() / between_ydays(): Is the date between the x-th and
y-th days of the year?
after_day(x, inclusive = FALSE, start = TRUE) after_yday(x, inclusive = FALSE, start = TRUE) before_day(x, inclusive = FALSE, start = TRUE) before_yday(x, inclusive = FALSE, start = TRUE) between_days(x, y, start = TRUE) between_ydays(x, y, start = TRUE) on_day(x, start = TRUE) on_yday(x, start = TRUE)
| x |
A day of the year to mark as an event. For |
|---|---|
| inclusive |
Should |
| start |
Should counting start from the beginning of the year? If |
| y |
A day of the year to mark as an event. |
on_day() is an alias of the less common, but more verbose, on_yday().