A date and time library based on the C++11/14/17 <chrono> header

Try it out on wandbox!
Summary
This is actually several separate C++11/C++14/C++17 libraries:
-
"date.h"
is a header-only library which builds upon <chrono>
. It adds some new duration
types, and new time_point
types. It also adds "field" types such as year_month_day
which is a struct {year, month, day}
. And it provides convenient means to convert between the "field" types and the time_point
types.
-
"tz.h"
/ "tz.cpp"
are a timezone library built on top of the "date.h"
library. This timezone library is a complete parser of the IANA timezone database. It provides for an easy way to access all of the data in this database, using the types from "date.h"
and <chrono>
. The IANA database also includes data on leap seconds, and this library provides utilities to compute with that information as well.
-
"iso_week.h"
is a header-only library built on top of the "date.h"
library which implements the ISO week date calendar.
-
"julian.h"
is a header-only library built on top of the "date.h"
library which implements a proleptic Julian calendar which is fully interoperable with everything above.
-
"islamic.h"
is a header-only library built on top of the "date.h"
library which implements a proleptic Islamic calendar which is fully interoperable with everything above.
Depends (1)
Builds
toolchain |
public-0.14.0 |
config |
macos_11-gcc_11.2_homebrew / x86_64-apple-darwin20.5.0 |
timestamp |
2022-07-05 17:48:55 UTC (07:32:12 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
macos_11-gcc_11.2_homebrew-static_O3 / x86_64-apple-darwin20.5.0 |
timestamp |
2022-07-05 17:39:14 UTC (07:41:53 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
macos_11-clang_13.0-O3 / x86_64-apple-darwin20.5.0 |
timestamp |
2022-07-05 16:45:12 UTC (08:35:56 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
macos_11-gcc_11.2_homebrew-O3 / x86_64-apple-darwin20.5.0 |
timestamp |
2022-07-05 16:39:26 UTC (08:41:41 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
macos_11-clang_13.0 / x86_64-apple-darwin20.5.0 |
timestamp |
2022-07-05 15:13:35 UTC (10:07:32 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
macos_11-clang_12.0 / x86_64-apple-darwin20.5.0 |
timestamp |
2022-07-05 15:05:29 UTC (10:15:38 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
macos_11-clang_13.0-static_O3 / x86_64-apple-darwin20.5.0 |
timestamp |
2022-07-05 14:26:16 UTC (10:54:51 hours ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-clang_13.0_llvm_msvc_16.11_lld / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2022-07-03 13:59:07 UTC (02 11:22:00 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_10-gcc_11.2-ndebug_O3 / x86_64-linux-gnu |
timestamp |
2022-07-03 13:58:52 UTC (02 11:22:15 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-clang_13.0_llvm_msvc_16.11 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2022-07-03 13:58:17 UTC (02 11:22:50 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_10-gcc_11.2-O3 / x86_64-linux-gnu |
timestamp |
2022-07-03 13:58:01 UTC (02 11:23:06 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_10-gcc_11.2-static_O3 / x86_64-linux-gnu |
timestamp |
2022-07-03 13:57:56 UTC (02 11:23:11 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-clang_13.0_llvm_msvc_16.11-O2 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2022-07-03 13:57:35 UTC (02 11:23:32 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-clang_13.0_llvm_msvc_16.11-static_O2 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2022-07-03 13:56:34 UTC (02 11:24:33 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-msvc_16.11-O2 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2022-07-03 13:47:42 UTC (02 11:33:25 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_10-gcc_11.2 / x86_64-linux-gnu |
timestamp |
2022-07-03 13:47:11 UTC (02 11:33:56 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-msvc_16.11 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2022-07-03 13:46:25 UTC (02 11:34:42 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-msvc_16.11-static_O2 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2022-07-03 13:45:21 UTC (02 11:35:46 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_11-clang_13.0_libc++-O3 / x86_64-linux-gnu |
timestamp |
2022-07-03 13:36:49 UTC (02 11:44:18 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_11-clang_13.0-O3 / x86_64-linux-gnu |
timestamp |
2022-07-03 13:36:43 UTC (02 11:44:24 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_11-clang_13.0_libc++ / x86_64-linux-gnu |
timestamp |
2022-07-03 13:36:27 UTC (02 11:44:40 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_11-clang_13.0_libc++-static_O3 / x86_64-linux-gnu |
timestamp |
2022-07-03 13:36:21 UTC (02 11:44:46 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_11-clang_13.0-static_O3 / x86_64-linux-gnu |
timestamp |
2022-07-03 13:36:02 UTC (02 11:45:06 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_11-clang_13.0 / x86_64-linux-gnu |
timestamp |
2022-07-03 13:35:51 UTC (02 11:45:16 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
freebsd_13-clang_11.0-O3 / x86_64-freebsd13.0 |
timestamp |
2022-07-03 13:20:26 UTC (02 12:00:41 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
freebsd_13-clang_11.0-static_O3 / x86_64-freebsd13.0 |
timestamp |
2022-07-03 13:18:36 UTC (02 12:02:31 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
freebsd_13-clang_11.0 / x86_64-freebsd13.0 |
timestamp |
2022-07-03 13:17:17 UTC (02 12:03:50 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-msvc_16.9 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2022-07-03 11:46:48 UTC (02 13:34:19 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_10-clang_12.0_libc++ / x86_64-linux-gnu |
timestamp |
2022-07-03 11:45:03 UTC (02 13:36:04 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10_devmode-msvc_16.11 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2022-07-03 11:43:32 UTC (02 13:37:35 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-clang_12.0_msvc_msvc_16.11 / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2022-07-03 11:43:32 UTC (02 13:37:36 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_10-clang_12.0 / x86_64-linux-gnu |
timestamp |
2022-07-03 11:41:37 UTC (02 13:39:30 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-msvc_16.11-charset / x86_64-microsoft-win32-msvc14.2 |
timestamp |
2022-07-03 11:36:38 UTC (02 13:44:29 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
freebsd_12-clang_10.0 / x86_64-freebsd12.2 |
timestamp |
2022-07-03 11:26:44 UTC (02 13:54:23 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_10-gcc_10.2 / x86_64-linux-gnu |
timestamp |
2022-07-03 11:23:22 UTC (02 13:57:45 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
linux_debian_10-gcc_11.2-charset / x86_64-linux-gnu |
timestamp |
2022-07-03 11:21:27 UTC (02 13:59:40 days ago) |
result |
success | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-gcc_10.2_mingw_w64-static_O2 / x86_64-w64-mingw32 |
timestamp |
2022-07-03 10:38:20 UTC (02 14:42:47 days ago) |
result |
error (update) | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-gcc_10.2_mingw_w64 / x86_64-w64-mingw32 |
timestamp |
2022-07-03 10:36:51 UTC (02 14:44:16 days ago) |
result |
error (update) | log | rebuild |
toolchain |
public-0.14.0 |
config |
windows_10-gcc_10.2_mingw_w64-O2 / x86_64-w64-mingw32 |
timestamp |
2022-07-03 10:36:41 UTC (02 14:44:27 days ago) |
result |
error (update) | log | rebuild |