Skip to contents

Print a period object

Usage

# S3 method for class 'grates_period'
print(x, format = "%Y-%m-%d", sep = "to", ...)

# S3 method for class 'grates_period'
format(x, format = "%Y-%m-%d", sep = "to", ...)

Arguments

x

A <grates_period> object.

format

[character]

The format to use for the bounds of each value.

sep

[character]

Where more than one day is grouped with others, sep is placed between the upper and lower bounds when printing.

...

Not currently used.