generate random Date
s and POSIXlt
test datetimes
random_test_dates(n = n_rnd, origin = as.Date("2000-01-01"),
dayspread = 365 * 150)random_test_posixlt_datetimes(n = n_rnd,
origin = as.Date("2000-01-01"), dayspread = 365 * 150)
integer number to generate
Date defaults to Jan 1, 2000.
integer number of days either side of origin to pick random dates from, defaults to 150 years.
vector of POSIXlt datetimes or Dates