dint 2.1.5
- Minor fixes to tests due to changes in R-base
- Export increment()utility function
dint 2.1.4
- vectors of length 1 are now recycled when adding or subtracting
date_xxobjects, e.g.date_yq(2019, 1) + 1:4is now possible (#5).
- qycan now handle inputs without sepperator between
quarter and year (e.g.- myfile42019)
- as.POSIXlt.date_xx()and- as.POSIXct.date_xx()now set UTC timezone by default (for
compatibility with- as.POSIXct.Date()changes in latest R
version)
dint 2.1.3
- Correct a small error in the documentation of
date_xx_arithmeticthat triggers a CRAN Warning since the
fixing of
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16223>
dint 2.1.2
- Updated all scale_date_*()functions for compatibility
with ggplot2 >= 3.2.2
dint 2.1.1
- format.date_xx()now used- %Vfor isoweeks
instead of- %Wto prevent confusion with- strftime(), where- %Wdenotes UK-weeks. Using- %Whas been deprecated and will be removed in future
versions.
- added yq(),qy(),ym(),my()“smart” parsers similar tolubridate::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
package
dint 2.1.0
- added ggplot2 scales for dint data types
- added predicates to check whether dates correspond to the boundaries
of years or quarters (is_quarter_bounds(),is_year_bounds(),is_first_of_quarter(),
etc…)
- export methods for uniqueandsummarythat
were introduced in the last version but mistakenly not exported
- One can now subtract two date_xxof the same subclass
from each other (the result is aninteger)
- added as_yearmon()andas_yearqtr()for
converting to zoo S3 classes
- Removed functions that were deprecated with dint 2.0.0
- added Sys.date_yq(),Sys.date_ym()andSys.date_yw()to get the current quarter, month or
isoweek.
- lots of small fixes
dint 2.0.0
- breaking: formatting date_xxobjects
now uses placeholders similar tobase::strptime()(e.g%Y,%m,%q, etc…) instead of
presets. The new implementation is also noticeably faster than the
old.
- breaking: all first_day_of_*()andformat_date_y*()functions now have shorter names:first_of_*()andformat_y*(). The original
names will still work until the next release but give a deprecation
warning.
- Added support for c(),min(),max(),range()
- You can now directly supply a numeric year to
first_of_year()andlast_of_year()(e.g.first_of_year(2018))
- added date_ywfor storing isoweeks and modified
existing functions to accommodate for them.
- added [method fordate_xxobjects that
preserves class attribute when subsetting
- %y+%/- %y-%can add/subtract years from
date_xx objects
- added the predicates, is_first_of_quarter(),is_last_of_quarter(), andis_quarter_bounds().
- seq()methods now support a- byargument
dint 1.0.0