A datey_interval is printed as "[start, end)", where start and end are
printed either as
YYYY-MM-DD, i.e. ISO 8601 extended date format, orYYYY-MM-DD.FFFwhere.FFFis the day fraction part.
If include_day_fraction is TRUE then .FFF is included even if it is 0.
Usage
# S3 method for class 'datey_interval'
as.character(x, ...)
# S3 method for class 'datey_interval'
format(x, include_day_fraction = TRUE, ...)
# S3 method for class 'datey_interval'
print(x, include_day_fraction = TRUE, max = NULL, ...)Arguments
- x
The
datey_intervalto print or format.- ...
Further arguments to be passed from or to other methods.
- include_day_fraction
Whether to include the fractional day part. Defaults to
TRUE.- max
Numeric or
NULL, specifying the maximal number of entries to be printed. WhenNULL,getOption("max.print")used. Defaults toNULL.
