Uses incoming parameters to return a pair of POSIXct
times in the
proper order. Both start and end times will have lubridate::floor_date()
applied to get the nearest unit
unless ceilingEnd = TRUE
in
which case the end time will will have lubridate::ceiling_date()
applied.
The required timezone
parameter must be one of those found in
OlsonNames
.
Dates can be anything that is understood by
lubrdiate::parse_date_time()
including either of the following
recommended formats:
"YYYYmmddHH[MMSS]"
"YYYY-mm-dd HH:MM:SS"