MT Core (C++)
Core library for replacing C++ standard in project usage
|
Namespace for calendaring systems. More...
Namespaces | |
namespace | systems |
namespace | zone |
Classes | |
class | AnnoDominiYear |
class | AstronomicalYear |
Astronomical Year. More... | |
struct | CalDate |
Represents a date without a time component. More... | |
struct | CalDateTime |
Wrapper for a date with a time component. More... | |
struct | CalDateTime< Calendar > |
struct | CalDateTimeZoned |
Wrapper for a date with a time component and timezone. More... | |
struct | DayFraction |
struct | Fixed |
Base calendar system tracking the number of days since its epoch. More... | |
struct | Moment |
Base calendar system tracking the number of days (and fraction of days) since its epoch. More... | |
struct | NanoSeconds |
struct | Range |
Range of dates with start and end. More... | |
struct | Segments |
Represents time in segments (hour, minute, etc.). More... | |
struct | TimeZone |
Concepts | |
concept | IsDayCalendarSystem |
concept | IsTimeCalendarSystem |
Typedefs | |
using | YearBase = i32 |
Year base type. | |
Enumerations | |
enum class | DayOfWeek { DayOfWeek::Sunday , DayOfWeek::Monday , DayOfWeek::Tuesday , DayOfWeek::Wednesday , DayOfWeek::Thursday , DayOfWeek::Friday , DayOfWeek::Saturday } |
Enum class for the day of week. More... | |
enum class | TimeValidationError { TimeValidationError::INVALID_HOUR , TimeValidationError::INVALID_MINUTE , TimeValidationError::INVALID_SECOND , TimeValidationError::INVALID_NANOSECOND , TimeValidationError::INVALID_FRACTION } |
Common try_validate errors for time. More... | |
Variables | |
constexpr i32 | FIXED_EPOCH = 0 |
constexpr i32 | GREGORIAN_EPOCH = 1 |
constexpr i32 | EGYPTIAN_EPOCH = -272787 |
constexpr i32 | ARMENIAN_EPOCH = 201443 |
constexpr i32 | AKAN_EPOCH = 37 |
constexpr i32 | JULIAN_EPOCH = -1 |
constexpr i32 | BALINESE_PAWUKON_EPOCH = -1721279 |
constexpr i32 | COPTIC_EPOCH = 103605 |
constexpr i32 | ETHIOPIC_EPOCH = 2796 |
constexpr i32 | HEBREW_EPOCH = -1373427 |
constexpr i32 | ICELANDIC_EPOCH = 109 |
constexpr i32 | ISLAMIC_EPOCH = 227015 |
constexpr f64 | JULIAN_DAY_EPOCH = -1721424.5 |
constexpr i32 | MAYAN_LONG_DATE_EPOCH = -1137142 |
constexpr i32 | MAYAN_HAAB_EPOCH = MAYAN_LONG_DATE_EPOCH - 348 |
constexpr i32 | MAYAN_TZOLKIN_EPOCH = MAYAN_LONG_DATE_EPOCH - 159 |
constexpr i32 | UNIX_TIMESTAMP_EPOCH = 719163 |
constexpr f64 | MODIFIED_JULIAN_DAY_EPOCH = 678576 |
constexpr i32 | ZOROASTRIAN_EPOCH = 230638 |
constexpr i32 | AZTEC_CORRELATION = 555403 |
constexpr i32 | TONALPOHUALLI_CORRELATION = AZTEC_CORRELATION - 104 |
constexpr i32 | XIHUITL_CORRELATION = AZTEC_CORRELATION - 201 |
constexpr f64 | ARYA_LUNAR_MONTH = 1577917500.0 / 53433336.0 |
constexpr f64 | ARYA_LUNAR_DAY = ARYA_LUNAR_MONTH / 30.0 |
constexpr i32 | OLD_HINDU_SOLAR_EPOCH = -1132959 |
constexpr f64 | ARYA_SOLAR_YEAR = 15779175.0 / 43200.0 |
constexpr f64 | ARYA_SOLAR_MONTH = ARYA_SOLAR_YEAR / 12.0 |
constexpr f64 | ARYA_JOVIAN_PERIOD = 1577917500.0 / 364224.0 |
constexpr i32 | NANOS_PER_SECOND = 1e9 |
Number of nanoseconds per second. | |
constexpr i64 | NANOS_PER_DAY = static_cast<i64>(NANOS_PER_SECOND) * 60 * 60 * 24 |
Number of nanoseconds per day. | |
Namespace for calendaring systems.
|
constexpr |
Definition at line 29 of file epochs.hpp.
|
constexpr |
Definition at line 28 of file epochs.hpp.
|
constexpr |
Definition at line 55 of file epochs.hpp.
|
constexpr |
Definition at line 51 of file epochs.hpp.
|
constexpr |
Definition at line 50 of file epochs.hpp.
|
constexpr |
Definition at line 54 of file epochs.hpp.
|
constexpr |
Definition at line 53 of file epochs.hpp.
|
constexpr |
Definition at line 46 of file epochs.hpp.
|
constexpr |
Definition at line 31 of file epochs.hpp.
|
constexpr |
Definition at line 32 of file epochs.hpp.
|
constexpr |
Definition at line 27 of file epochs.hpp.
|
constexpr |
Definition at line 33 of file epochs.hpp.
|
constexpr |
Definition at line 25 of file epochs.hpp.
|
constexpr |
Definition at line 26 of file epochs.hpp.
|
constexpr |
Definition at line 34 of file epochs.hpp.
|
constexpr |
Definition at line 35 of file epochs.hpp.
|
constexpr |
Definition at line 36 of file epochs.hpp.
|
constexpr |
Definition at line 37 of file epochs.hpp.
|
constexpr |
Definition at line 30 of file epochs.hpp.
|
constexpr |
Definition at line 39 of file epochs.hpp.
|
constexpr |
Definition at line 38 of file epochs.hpp.
|
constexpr |
Definition at line 40 of file epochs.hpp.
|
constexpr |
Definition at line 42 of file epochs.hpp.
|
constexpr |
Definition at line 52 of file epochs.hpp.
|
constexpr |
Definition at line 47 of file epochs.hpp.
|
constexpr |
Definition at line 41 of file epochs.hpp.
|
constexpr |
Definition at line 48 of file epochs.hpp.
|
constexpr |
Definition at line 43 of file epochs.hpp.