- Internal changes.
- Updated how S3 methods are registered so internal methods do not overwrite S3 methods.
- Housekeeping tasks.
- Updated how S3 methods are registered.
- Update set operators code due to failures on development version of R.
- Adding excel to date time function to package
dtt_excel_to_date_time()
- Updating tests due POSIXct bug fix
- Updating
dtt_*_from_ints()
functions to handle missing values by setting the whole value to beNA
if one part is missing
- added
dtt_date_from_ints()
,dtt_time_from_ints()
anddtt_date_time_from_ints()
which create date or time objects from vectors of integers.
- Same as previous version.
- Ayla Pearson now co-author and maintainer.
- Same as previous version.
- Fix HTML attribute.
- Increase minimum compatible R version to 3.4.
-
Added
dtt_decade()
dtt_days_in_month()
dtt_days_in_year()
dtt_month_decimal()
,dtt_year_decimal.Date()
dtt_day_decimal()
,dtt_doy_decimal()
,dtt_hour_decimal()
dtt_minute_decimal()
dtt_leap_year()
-
Fixed
dtt_adjust_units()
so accepts fractional values.
Added test functions
is_date()
is_date_time()
is_time()
Added get functions for default time zone.dtt_sys_date()
dtt_sys_date_time()
dtt_sys_time()
- Added to get POSIXct object with year set to 1972.
dtt_dayte_time()
.
- Bug fix for c.Date which in development version coerces all arguments to Date.
- Added
dtt_date_add_time()
to add times to Dates vectors. - Added
dtt_diff()
to get time differences. - Added
dtt_set_date()
anddtt_set_time()
to set dates and times. - Add
first = NULL
argument todtt_season()
to allow setting of first season in year. dtt_season()
now returns factor as opposed to ordered factor.- Added
dtt_wday()
to get weekday as a character vector.
- Functions now accept whole numerics where previously integers required.
- Added
chk_time()
andvld_time()
to check and validate that non-missinghms::hms
scalar. - Soft-deprecated
check_tz()
forchk::chk_identical(dtt_tz(x), tz)
- Removed reference to missing ...parameters.
- Added a
NEWS.md
file to track changes to the package.