• on_date(): Is the date on x?

  • before_date(): Is the date before x?

  • after_date(): Is the date after x?

  • between_dates(): Is the date between x and y?

after_date(x, inclusive = FALSE)

before_date(x, inclusive = FALSE)

between_dates(x, y)

on_date(x)

Arguments

x

[Date(1)]

A date to mark as an event. For on_date(), this is also allowed to be a vector.

inclusive

[logical(1)]

Should x count as an event?

y

[Date(1)]

A date to mark as an event.