This is a yearmonthweekday method for the calendar_widen()
generic. It
widens a yearmonthweekday vector to the specified precision
.
# S3 method for clock_year_month_weekday calendar_widen(x, precision)
x 
A yearmonthweekday vector. 

precision 
One of:

x
widened to the supplied precision
.
Widening a month precision yearmonthweekday to day precision will set
the day and the index to 1
. This sets the weekday components to the
first Sunday of the month.
#> <year_month_weekday<month>[1]> #> [1] "201901"# Widen to day precision # Note that this sets both the day and index to 1, # i.e. the first Sunday of the month. calendar_widen(x, "day")#> <year_month_weekday<day>[1]> #> [1] "201901Sun[1]"#> <year_month_weekday<second>[1]> #> [1] "201901Sun[1] 00:00:00"