Test whether a date time vector is floored.
Usage
dtt_floored(x, ...)
# S3 method for class 'Date'
dtt_floored(x, units = "days", ...)
# S3 method for class 'POSIXct'
dtt_floored(x, units = "seconds", ...)
# S3 method for class 'hms'
dtt_floored(x, units = "seconds", ...)
Methods (by class)
dtt_floored(Date)
: Test if Date vector is flooreddtt_floored(POSIXct)
: Test if POSIXct vector is flooreddtt_floored(hms)
: Test if hms vector is floored
See also
Other floor:
dtt_date()
,
dtt_date_time()
,
dtt_excel_to_date()
,
dtt_excel_to_time()
,
dtt_floor()
,
dtt_set_time()
Examples
dtt_floored(as.Date("2002-02-01"))
#> [1] TRUE