-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtempoch.hpp
More file actions
28 lines (26 loc) · 826 Bytes
/
tempoch.hpp
File metadata and controls
28 lines (26 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
/**
* @file tempoch.hpp
* @brief Umbrella header for the tempoch C++ wrapper library.
*
* Include this single header to get the full tempoch C++ API:
*
* - `tempoch::Time<S>` — generic time-point template (core)
* - `tempoch::JulianDate` = `Time<JDScale>`
* - `tempoch::MJD` = `Time<MJDScale>`
* - `tempoch::CivilTime` — UTC civil date-time breakdown
* - `tempoch::UTC` — alias for `CivilTime`
* - `tempoch::Period<T>` — time period [start, end]
*
* @code
* #include <tempoch/tempoch.hpp>
*
* auto jd = tempoch::JulianDate::from_utc({2026, 7, 15, 22, 0, 0});
* auto mjd = jd.to<tempoch::MJDScale>(); // cross-scale conversion
* @endcode
*/
#include "ffi_core.hpp"
#include "period.hpp"
#include "scales.hpp"
#include "time.hpp"
#include "time_base.hpp"