yeardayboundary {clock}  R Documentation 
This is a yearday method for the calendar_start()
and
calendar_end()
generics. They adjust components of a calendar to the
start or end of a specified precision
.
## S3 method for class 'clock_year_day'
calendar_start(x, precision)
## S3 method for class 'clock_year_day'
calendar_end(x, precision)
x 
A yearday vector. 
precision 
One of:

x
at the same precision, but with some components altered to be
at the boundary value.
# Day precision
x < year_day(2019:2020, 5)
x
# Compute the last day of the year
calendar_end(x, "year")