isoyear_to_last_date {cstime} | R Documentation |
Returns the last Sunday in the isoyear
isoyear_to_last_date(x)
## Default S3 method:
isoyear_to_last_date(x)
## S3 method for class 'character'
isoyear_to_last_date(x)
## S3 method for class 'numeric'
isoyear_to_last_date(x)
x |
ISO year, e.g. 2020 |
Date of the Sunday, for the last week in the isoyear
isoyear_to_last_date(c(2019, 2019, 2020, 2021))