isoyear_to_last_date: Last Sunday in ISO year

View source: R/conversion_date_isoweek_isoyear.R

isoyear_to_last_dateR Documentation

Last Sunday in ISO year

Description

Returns the last Sunday in the isoyear

Usage

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)

Arguments

x

ISO year, e.g. 2020

Value

Date of the Sunday, for the last week in the isoyear

Examples

isoyear_to_last_date(c(2019, 2019, 2020, 2021))

cstime documentation built on May 31, 2023, 9:27 p.m.