Crandore Hub

RcppBDT

'Rcpp' Bindings for the Boost Date_Time Library

Access to Boost Date_Time functionality for dates, durations (both for days and date time objects), time zones, and posix time ('ptime') is provided by using 'Rcpp modules'. The posix time implementation can support high-resolution of up to nano-second precision by using 96 bits (instead of 64 with R) to present a 'ptime' object (but this needs recompilation with a #define set).

README

## Possible Issue

See
[this Stackoverflow question](http://stackoverflow.com/questions/29413175/generating-date-time-zonespec-csv-for-boostdate-time-from-ianas-time-zone-dat)
for problems with this csv file, and the following quote

> Why don't you use Boost.DateTime time zone support?
>
> Boost.DateTime's time zone support is broken. Time zones can not be
> represented with a simple table of rules where daylight saving depend only on
> certain n'th day of week in month. The daylight savings time may vary by
> year, political issues and many other things.

attributed to the
[Boost locale](https://www.boost.org/doc/libs/release/libs/locale/doc/html/dates_times_timezones.html)
documentation.

Versions across snapshots

VersionRepositoryFileSize
0.2.8 rolling linux/jammy R-4.5 RcppBDT_0.2.8.tar.gz 351.8 KiB
0.2.8 rolling linux/noble R-4.5 RcppBDT_0.2.8.tar.gz 359.6 KiB
0.2.8 rolling source/ R- RcppBDT_0.2.8.tar.gz 40.4 KiB
0.2.8 latest linux/jammy R-4.5 RcppBDT_0.2.8.tar.gz 351.8 KiB
0.2.8 latest linux/noble R-4.5 RcppBDT_0.2.8.tar.gz 359.6 KiB
0.2.8 latest source/ R- RcppBDT_0.2.8.tar.gz 40.4 KiB
0.2.8 2026-04-26 source/ R- RcppBDT_0.2.8.tar.gz 40.4 KiB
0.2.8 2026-04-23 source/ R- RcppBDT_0.2.8.tar.gz 40.4 KiB
0.2.8 2026-04-09 windows/windows R-4.5 RcppBDT_0.2.8.zip 633.4 KiB
0.2.7 2025-04-20 source/ R- RcppBDT_0.2.7.tar.gz 40.2 KiB

Dependencies (latest)

Imports

LinkingTo