Format and print a yearmonth object
# S3 method for grates_yearmonth
print(x, format = "%Y-%b", ...)# S3 method for grates_yearmonth
format(x, format = "%Y-%b", ...)
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_yearmonth> object invisibly.
A <grates_yearmonth> object.
[character]
The format to use for printing.
Not currently used.