new_time_unit(x = 1L, ..., class = NULL)
The number of units (must be an integer of length 1).
Additional attributes of the time unit (for example, timezones).
The class of the unit. Recommended class format is "tu_*", for example, "tu_month".
A time unit.
A time unit describes the granularity of a calendar. The time unit class is used to identify how different time units nest another.