|
tempoch-cpp 0.5.5
Header-only C++ wrapper for tempoch
|
#include <tempoch/period.hpp>
Static Public Member Functions | |
| static Period | from_c (const tempoch_period_mjd_t &c) |
Definition at line 92 of file period.hpp.
|
inline |
Construct a half-open interval [start, end).
The period is half-open: start is included, end is excluded.
| InvalidPeriodError | if start > end. |
Definition at line 102 of file period.hpp.
References tempoch::check_status(), tempoch::Period< T >::end(), tempoch::scale_tag_v, and tempoch::Period< T >::start().
|
inlinenoexcept |
Definition at line 193 of file period.hpp.
|
inline |
Definition at line 176 of file period.hpp.
References tempoch::check_status(), tempoch::Period< T >::from_c(), and tempoch::scale_tag_v.
|
inlinenoexcept |
Definition at line 160 of file period.hpp.
References tempoch::scale_tag_v.
|
inline |
Definition at line 142 of file period.hpp.
References tempoch::scale_tag_v.
|
inline |
Definition at line 111 of file period.hpp.
Referenced by tempoch::Period< T >::Period(), tempoch::Period< T >::to(), and tempoch::Period< T >::to_with().
|
inlinestatic |
Definition at line 108 of file period.hpp.
References tempoch::scale_tag_v.
Referenced by tempoch::Period< T >::complement_of(), tempoch::Period< T >::intersection(), and tempoch::Period< T >::union_with().
|
inline |
Definition at line 153 of file period.hpp.
References tempoch::check_status(), tempoch::Period< T >::from_c(), and tempoch::scale_tag_v.
|
inline |
Returns the length of the period (primary name; duration() is a backward-compat alias).
Definition at line 149 of file period.hpp.
References tempoch::scale_tag_v.
|
inline |
Definition at line 110 of file period.hpp.
Referenced by tempoch::Period< T >::Period(), tempoch::Period< T >::to(), and tempoch::Period< T >::to_with().
|
inline |
Definition at line 113 of file period.hpp.
References tempoch::Period< T >::end(), tempoch::scale_tag_v, and tempoch::Period< T >::start().
|
inline |
Definition at line 120 of file period.hpp.
References tempoch::Period< T >::end(), tempoch::scale_tag_v, and tempoch::Period< T >::start().
|
inline |
Definition at line 127 of file period.hpp.
References tempoch::Period< T >::end(), tempoch::scale_tag_v, and tempoch::Period< T >::start().
|
inline |
Definition at line 134 of file period.hpp.
References tempoch::Period< T >::end(), tempoch::scale_tag_v, and tempoch::Period< T >::start().
|
inline |
Definition at line 164 of file period.hpp.
References tempoch::check_status(), tempoch::Period< T >::from_c(), and tempoch::scale_tag_v.