More specific includes in RcppCCTZ_API.h (Jing Lu in #42 closing #41).
Synchronized with upstream CCTZ (Dirk in #43).
Switch CI use to r-ci
Applied patch by Tomas Kalibera for Windows UCRT under the upcoming R 4.2.0 expected for April.
Provide a header
RcppCCZT_API.h for client packages.
Show a simple example of parsing a YYYYMMDD HHMMSS.FFFFFF date.
Added three new
nothrow variants (needed for win32) needed
by the expanded nanotime package (Leonardo in #37)
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; these functions are only callable
from C level (Leonardo in #34 and #35).
_RcppCCTZ_getOffset that returns the offset
at a speficied time-point for a specified timezone; this function is
only callable from C level (Leonardo in #32).
Synchronized with upstream CCTZ release 2.3 plus commits accrued since then (Dirk in #30).
The package now uses tinytest for unit tests (Dirk in #31).
Datetime was corrected on systems that do
not have nanosecond support in C++11 chrono (#28).
DatetimeVector objects are now created with their
timezone attribute when available.
toTz functions is now vectorized (#29).
More unit tests were added, and some conditioning on Solaris (mostly due to missing timezone info) was removed.
#ifdef'ed away to please another compiler/OS combination.
tzDiff function now supports a vector argument
#include was removed (#25).
Some tests are not conditioning on Solaris to not fail there (#26).
The CCTZ code was updated to the newest upstream version (#27).
Unit tests now use the RUnit package replacing a simpler tests script.
On Windows, the
TZDIR environment variable is now set
init.c with registration code inside of
RcppExports.cpp thanks to Rcpp 0.12.11.
Synchronized with upstream CCTZ
time_point object is instantiated explicitly for
nanosecond use which appears to be required on macOS
Conversion from timepoint to two
double values now
rounds correctly (#14 closing #12, with thanks to
The Description was expanded to stress the need for a modern C++11 compiler; g++-4.8 (as on 'trusty' eg in Travis CI) works
Travis CI is now driven via
run.sh from our fork
Windows compilation was enabled by defining
ABBR() for MinGW (#10 partially addressing #9)
Windows use completed with backport of
from LLVM's libc++ to enable
strptime semantics (Dan Dillon
in #11 completing #9)
Timezone information on Windows is supplied via R's own copy
of zoneinfo with
TZDIR set (also #10)
The interface to
formatDouble was cleaned up
New parsing and formating helpers for Datetime vectors
New parsing and formating helpers for (two)
vectors representing full
std::chrono nanosecond resolutions
Updated documentation and examples.
New utility example functions
Synchronized with small upstream change for additional
#ifdef for compiler differentiation
CCTZ v2 upstream.
#ifdef statements suggested by Bradley White
CCTZ ticket #5 permitting compilation on Solaris – with thanks
to Jeroen for testing our branch.
Initial CRAN upload.
Package is functional and provides examples.