adjust() function rolls dates to the closest good dates. This function
shifts dates by a given period and adjusting the
resulting dates to a closest good dates following the given business day
shift(dates, period, bdc = "u", calendar = EmptyCalendar(), eom_rule = TRUE)
a vector of dates to shift and adjust
an atomic instance of the period class in the sense that only one of its slots should be non-zero. It must also only be a day, month or year period type.
the business day convention used to roll the
if one of the
a vector of shifted dates
#>  "2012-03-29"shift(ymd("20120229"), months(1), "u", ausy, TRUE)#>  "2012-03-30"