NEWS.md
date_xx_arithmetic that triggers a CRAN Warning since the fixing of https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16223>format.date_xx() now used %V for isoweeks instead of %W to prevent confusion with strftime(), where %W denotes UK-weeks. Using %W has been deprecated and will be removed in future versions.yq(), qy(), ym(), my() “smart” parsers similar to lubridate::dmy() & co.as_date_ym() and as_date_yw() now handle input vectors that contain NAs (as as_date_yq() already did)last_of_quarter() no longer depends on the lubridate packageis_quarter_bounds(), is_year_bounds(), is_first_of_quarter(), etc…)unique and summary that were introduced in the last version but mistakenly not exporteddate_xx of the same subclass from each other (the result is an integer)as_yearmon() and as_yearqtr() for converting to zoo S3 classesSys.date_yq(), Sys.date_ym() and Sys.date_yw() to get the current quarter, month or isoweek.date_xx objects now uses placeholders similar to base::strptime() (e.g %Y, %m, %q, etc…) instead of presets. The new implementation is also noticeably faster than the old.first_day_of_*() and format_date_y*() functions now have shorter names: first_of_*() and format_y*(). The original names will still work until the next release but give a deprecation warning.c(), min(), max(), range()
first_of_year() and last_of_year() (e.g. first_of_year(2018))date_yw for storing isoweeks and modified existing functions to accommodate for them.[ method for date_xx objects that preserves class attribute when subsetting%y+% / %y-% can add/subtract years from date_xx objectsis_first_of_quarter(), is_last_of_quarter(), and is_quarter_bounds().seq() methods now support a by argument