2022-11-06 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.2.12 2022-11-03 Dirk Eddelbuettel * src/utilities.cpp (parseDatetime,parseDouble): Support NA value on incoming data which now return NA values * .editorconfig: Added * .github/workflows/ci.yaml (jobs): Update to actions/checkout@v3 2022-08-06 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.2.11 2022-08-02 Dirk Eddelbuettel * .github/workflows/ci.yaml (jobs): Use r2u 2022-07-29 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * inst/include/cctz/*: Synchronized with CCTZ repo * src/*: Ditto 2022-07-28 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version 2022-07-26 Jing Lu * inst/include/RcppCCTZ_API.h: More specific #include files: add R_ext/Rdynload.h for R_GetCCallable, remove umbrella header R.h 2021-12-14 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.2.10 2021-12-09 Dirk Eddelbuettel * src/Makevars.ucrt: Based on patch by Tomas Kalibera that is part of his changes for the Windows utf8-enhabced ucrt3 builds of R 4.2.0 2021-12-08 Dirk Eddelbuettel * README.md: Remove unused continuous integration artifact and badge 2021-04-19 Dirk Eddelbuettel * DESCRIPTION (URL): Add package page 2021-01-02 Dirk Eddelbuettel * .github/workflows/ci.yaml: Add CI runner using r-ci * README.md: Add new badge 2020-08-30 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.2.9 * src/RcppExports_snippet.h: Snippet of exported functions needed in RcppExports.cpp (but not added by compileAttributes) 2020-08-28 Dirk Eddelbuettel * src/utilities.cpp: Show parsing example of YYYYMMDD HHMMSS.NNN * R/RcppExports.R: Idem * man/parseDatetime.Rd: Idem 2020-08-22 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * inst/include/RcppCCTZ_types.h: Additional declarations header 2020-08-18 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * inst/include/RcppCCTZ_API.h: Add convertToCivilSecond too * src/RcppExports.cpp: Note that one part is 'manual' 2020-08-13 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * inst/include/RcppCCTZ_API.h: Add API definitions header file 2020-08-03 Leonardo Silvestri * DESCRIPTION (Version, Date): Release 0.2.8 * src/utilities.cpp: No-throw versions of C functions for Win-32 * src/RcppExports.cpp: Idem 2020-05-12 Dirk Eddelbuettel * README.md: Add 'last commit' badge 2020-03-18 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.2.7 2020-03-08 Leonardo Silvestri * DESCRIPTION (Version, Date): Roll minor version * src/utilities.cpp (_RcppCCTZ_convertToCivilSecond): Throw if timezone not found 2019-11-15 Leonardo Silvestri * DESCRIPTION (Version, Date): Roll minor version * src/utilities.cpp: Added functions _RcppCCTZ_convertToCivilSecond that converts a time point to the number of seconds since epoch, and _RcppCCTZ_convertToTimePoint that converts a number of seconds since epoch into a time point * src/RcppExports.cpp: Export the above functions at C level 2019-09-07 Leonardo Silvestri * DESCRIPTION (Version, Date): Roll minor version * src/utilities.cpp: Added function _RcppCCTZ_getOffset to return the offset at a time-point for a specific timezone * src/RcppExports.cpp: Export the above function at C level 2019-08-03 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.2.6 * DESCRIPTION (Suggests): Added tinytest * .travis.yml (install): Install tinytest * tests/tinytest.R: New test driver using tinytest * test/doRUnit.R: Removed * inst/tinytest/test_format.R: Converted from RUnit * inst/tinytest/test_parse.R: Idem * inst/tinytest/test_tz.R: Idem * README.md (tinytest): Added dependency badge, add installation paragraph, add continued testing post-installation via tinytest 2019-08-02 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * src/*: Synchronized with upstream CCTZ release 2.3 * inst/include/cctz/*: Idem * src/time_zone_format.cc: Carry std::get_time patch forward * src/zone_info_source.cc: Carry forward no linking ZoneInfoSourceFactory * local/cctz-20181003/: Renamed from local/cctz to show release date * local/cctz-20190702/: Added 2018-10-14 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.2.5 2018-10-11 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * inst/unitTests/runit.Format.R (test.Format.R): Added test for format and parse of dual double vector (at highest precision) * local/cctz/: Added upstream to repo for easier diff comparison with upstream changes; same directory layout as upstream and now here * src/utilities.cpp: Set target timezone in DatetimeVector; relax one \dontrun 2018-10-09 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * src/utilities.cpp (toTz): Vectorized toTz * man/toTz.Rd: Updated documentation * inst/unitTests/runit.Parse.R (test.Parse): Added test for vectorised parse 2018-10-07 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * src/utilities.cpp (parseDatetime): Set the timezone when construction a DatetimeVector; correctly scale time since epoch * inst/unitTests/runit.Format.R: No longer condition on Solaris * inst/unitTests/runit.Parse.R: Idem, added two more parseDouble() tests 2018-10-06 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.2.4 * DESCRIPTION (Suggests): Add RUnit * .travis.yml: Install r-cran-runit * tests/doRUnit.R: Add unit test runner * inst/unitTests/runit.Format.R: Add a few unit tests * inst/unitTests/runit.Parse.R: Idem * inst/unitTests/runit.tz.R: Idem * tests/simpleTests.R: Removed in favour of unit test frameworks * tests/simpleTests.Rout: Idem 2018-10-05 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * src/time_zone_format.cc: Restore Windows build by also recognising MinGW / Rtools (so that the contributed src/get_time.h is used) * src/zone_info_source.cc (cctz_extension): Idem, and prevent attempt to link ZoneInfoSourceFactory * .Rbuildignore: Ignore (source) tarballs in top-level directory 2018-10-04 Dirk Eddelbuettel * src/*: Synchronized with upstream CCTZ 2018-10-03 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * tests/simpleTests.R: Condition on Solaris for some tests * src/utilities.cpp: Turn examples to \dontrun{} for Solaris * formatDatetime.Rd: Idem * parseDatetime.Rd: Idem * toTz.Rd: Idem * tzDiff.Rd: Idem 2018-03-17 Elliott Sales de Andrade * src/utilities.cpp: Remove one unnecessary #include 2017-11-29 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version 2017-11-24 anderic1 * src/utilities.cpp: Generalize to vectorized input * man/tzDiff.Rd: Document change 2017-06-20 Dirk Eddelbuettel * src/time_tool.cc: #ifdef away the unused main() * .travis.yml (group): Added as required by Travis CI 2017-06-19 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.2.3 * R/init.R (.onLoad): Renamed from .onAttach, set TZDIR only if unset, removed the (conditional on intreactive mode) message, * README.md: Use alternate for img.shields.io GPL-2+ badge * src/RcppExports.cpp (R_init_anytime): Registration now here * src/init.c: Deleted as calls now made in RcppExports.cpp * R/RcppExports.R: Updated by Rcpp 0.12.11 as well 2017-05-03 Dirk Eddelbuettel * src/utilities.cpp: The epoch offset is now calculated more directly using a member function 2017-04-20 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.2.2 * src/init.c (R_init_RcppCCTZ): all R_registerRoutines() and R_useDynamicSymbols() * NAMESPACE: Use .registration=TRUE on useDynLib * src/time_zone_format.cc: Reapply required MinGW conditionals required for Windows build 2017-04-19 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor release and date; * src/utilities.cpp (parseDouble): Instantiate time_point explicitly for nanosecond use which seems needed on macOS (thanks, Leonardo!) * inst/include/civil_time_detail.h: Sync'ed with upstream * inst/include/time_zone.h: Idem * inst/include/time_zone_if.h: Idem * inst/include/time_zone_impl.h: Idem * inst/include/time_zone_info.h: Idem * inst/include/time_zone_libc.h: Idem * inst/include/time_zone_posix.h: Idem * src/time_tool.cc: Idem * src/time_zone_format.cc: Idem * src/time_zone_impl.cc: Idem * src/time_zone_info.cc: Idem * src/time_zone_libc.cc: Idem * src/time_zone_lookup.cc: Idem * src/time_zone_posix.cc: Idem * inst/include/time_zone_fixed.h: Added as new upstream file * inst/include/zone_info_source.h: Idem * src/civil_time_detail.cc: Idem * src/time_zone_fixed.cc: Idem * inst/include/src/cctz.h: Removed as removed upstream 2017-02-04 Dirk Eddelbuettel * DESCRIPTION (Date, Version): Release 0.2.1 * inst/NEWS.Rd: Updated 2017-01-31 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor release and date; another update on required C++ compiler version * .travis.yml: Switch to using run.sh for Travis CI; no longer need to install g++-4.9 as 'trusty' used; also switches to https fetch 2017-01-29 Dirk Eddelbuettel * DESCRIPTION: Made need for modern C++ compiler more explicit in SystemRequirements 2017-01-27 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor release and date * src/utilities.cpp (parseDouble): Correct conversion to seconds and nanoseconds as suggested by Leonardo Silvestri in #12 2017-01-08 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.2.0 * src/examples.cpp: Reverted all format strings back to the older 'sprintf' style formatters to be compatible with g++-4.9 * src/utilities.cpp: Idem; also updated documentation * man/RcppCCTZ-package.Rd: Documented Windows behaviour of strftime formatters and lack of support for '%F %T' * man/formatDatetime.Rd: Idem 2017-01-07 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version * tests/simpleTests.R: Simple unit tests * tests/simpleTests.Rout.save: Reference output * R/init.R (.onAttach): Only show Windows message in interactive mode * src/examples.cpp: Use Windows format strings on Windows 2017-01-07 Daniel C. Dillon * inst/include/get_time.h: Ported from C++ library to fill in for the missing strptime on Windows with g++ 4.* as used by Rtools * src/time_zone_format.cc: Use ported routine * src/examples.cpp: Use Windows format strings on Windows 2016-12-28 Dirk Eddelbuettel * DESCRIPTION: No longer exclude Windows * src/time_zone_libc.cc (cctz): Define OFFSET() and ABBR() macros for MinGW * src/time_zone_info.cc (cctz): Account for MinGW * src/time_zone_format.cc (cctz): Idem, empty strptime use for now * R/init.R: On Windows set TZDIR to zoneinfo from R * src/Makevars.win: Added 2016-12-17 Dirk Eddelbuettel * src/utilities.cpp (formatDouble): Removed unused argument lcltzstr * src/RcppExports.cpp (formatDouble): Idem * R/RcppExports.R (formatDouble): Idem * man/formatDatetime.Rd: Idem 2016-12-12 Dirk Eddelbuettel * inst/NEWS.Rd: Post-release update for 0.1.0 2016-12-11 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Release 0.1.0 * src/utilities.cpp (formatDouble, parseDouble): Document and export * man/formatDatetime.Rd: Ditto * man/parseDatetime.Rd: Ditto * NAMESPACE: Ditto 2016-12-10 Dirk Eddelbuettel * README.md: Expanded and added examples section * src/utilities.cpp (formatDatetime, parseDatetime): Vectorized * src/utilities.cpp (formatDouble,parseDouble): Altered to work on '128 bit' via two sets of doubles for seconds + nanoseconds 2016-12-09 Dirk Eddelbuettel * src/utilities.cpp (formatDouble,parseDouble): New functions using full std::chrono nanosecond resolution, using doubles 2016-12-07 Dirk Eddelbuettel * src/utilities.cpp (formatDatetime,parseDatetime): New functions using full std::chrono object precision * man/formatDatetime.Rd: New documentation * man/parseDatetime.Rd: Ditto * NAMESPACE: Control more finely what is, or isn't exported 2016-12-02 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version and date * src/examples.cpp (helloMoon): Updates to helloMoon() example * src/utilities.cpp (toTz): Update example * man/toTz.Rd: Ditto 2016-12-01 Dirk Eddelbuettel * inst/include/civil_time_detail.h: Synced with upstream * inst/include/time_zone.h: Ditto * inst/include/time_zone_if.h: Ditto * inst/include/time_zone_impl.h: Ditto * inst/include/time_zone_info.h: Ditto * inst/include/time_zone_libc.h: Ditto * src/time_zone_format.cc: Ditto * src/time_zone_impl.cc: Ditto * src/time_zone_info.cc: Ditto * src/time_zone_libc.cc: Ditto * src/time_zone_lookup.cc: Ditto * src/time_tool.cc: Ditto, also updated again for std::{cout,cerr} * inst/include/src/cctz_if.h: Removed as removed upstream * inst/include/src/cctz_impl.h: Ditto * inst/include/src/cctz_info.h: Ditto * inst/include/src/cctz_libc.h: Ditto * inst/include/src/cctz_posix.h: Ditto 2016-07-11 Dirk Eddelbuettel * inst/include/civil_time_detail.h (cctz): Synced with upstream * src/time_zone_format.cc: Ditto * src/time_zone_info.cc: Ditto * src/time_zone_lookup.cc: Ditto 2016-07-09 Dirk Eddelbuettel * DESCRIPTION (Version): Version 0.0.5 2016-05-27 Dirk Eddelbuettel * src/utilities.cpp (toTz): New utility function to 'transfer' a datetime object from one timezone to another * man/toTz.Rd: Documentation 2016-05-21 Dirk Eddelbuettel * DESCRIPTION (Version): Rolled minor version and date * src/*: Synced with CCTZ upstream * inst/include/src/: Ditto 2016-04-23 Dirk Eddelbuettel * DESCRIPTION (Version): Rolled minor version and date * src/utilities.cpp (tzDiff): New simple utility to compute differences between timezones 2016-04-18 Dirk Eddelbuettel * src/examples.cpp (exampleFormat): Added simple formatting example 2016-04-17 Dirk Eddelbuettel * DESCRIPTION: Version 0.0.4 * inst/NEWS.Rd: Updated * src/*: Updated to CCTZ v2 upstream * inst/include/src/: Ditto * src/time_tool.cc (main): #ifdef'ed out, replace std::cout with Rcpp::Rcout, added #include * src/examples.cpp: Converted to v2 of API 2016-01-17 Dirk Eddelbuettel * DESCRIPTION: Version 0.0.3 * src/*: Updated to CCTZ upstream * inst/include/src/: Ditto 2015-12-02 Dirk Eddelbuettel * DESCRIPTION: Version 0.0.2 * inst/include/src/cctz_libc.h: Applied CCTZ upstream suggestion to permit compilation on Solaris * src/cctz_libc.cc: Idem * src/cctz_if.cc: Idem 2015-11-30 Dirk Eddelbuettel * DESCRIPTION: Version 0.0.1 * inst/include/src/cctz_info.h: Updated to new upstream version which no longer uses 128 byte integers and is therefore suitable for CRAN * src/cctz_fmt.cc: Idem * src/cctz_info.cc: Idem 2015-10-18 Dirk Eddelbuettel * README.md: Added 2015-10-17 Dirk Eddelbuettel * .travis.yml: Added Travis support * src/examples.cpp: Added examples from CCTZ repo 2015-10-16 Dirk Eddelbuettel * src/*: Initial packaging based on CCTZ repo