powered by
Normalize days in month back to day limit for a given month
normalize_month_day(x)
a vector of partial_time objects with normalized days of the month
partial_time
a vector of parttime objects with days which may exceed viable days of month
x <- as.parttime(c("2019", "2019-02-31", "2019-01-05", "2016-02-31", "2016-01-05")) parttime:::normalize_month_day(x)
Run the code above in your browser using DataLab