Format and print a month object
# S3 method for grates_month
print(x, format = "%Y-%b", sep = "to", ...)# S3 method for grates_month
format(x, format = "%Y-%b", sep = "to", ...)
For format()
, a character vector representing the formatted input.
print()
is called for the side effect of printing to screen and thus
returns the input <grates_month>
object invisibly.
A <grates_month>
object.
[character]
The format to use for the bounds of each value.
[character]
Where more than one month is grouped with others, sep
is placed between the
upper and lower bounds when printing.
Not currently used.