|
MT Core (C++)
Core library for replacing C++ standard in project usage
|
Represents the ancient Egyptian calendaring system. More...
#include <egyptian.hpp>

Public Types | |
| enum class | Month { Thoth = 1 , Phaophi , Athyr , Choiak , Tybi , Mechir , Phamenoth , Pharmuthi , Pachon , Payni , Epiphi , Mesori , epagomenae } |
Public Member Functions | |
| constexpr auto | operator<=> (const Egyptian &o) const noexcept |
| constexpr Fixed | to_fixed () const noexcept |
Static Public Member Functions | |
| static constexpr Egyptian | from_fixed (const Fixed &rdDate) noexcept |
Public Attributes | |
| AstronomicalYear | year = 0 |
| Year of the date. | |
| Month | month = Month::Thoth |
| MONTH of the year (1-13) | |
| u8 | day = 1 |
| Day of the month: 1-30 (epagomenae 1-5) | |
Static Public Attributes | |
| static constexpr auto | EPOCH = EGYPTIAN_EPOCH |
| static constexpr std::string_view | name = "Egyptian" |
Represents the ancient Egyptian calendaring system.
The Egyptian calendars has 13 months, with the first 12 months being 30 days and the last month (the epagomenae) being 5 days. Note that the epagomenae (month 13) does not have a name.
Definition at line 33 of file egyptian.hpp.
|
strong |
| Enumerator | |
|---|---|
| Thoth | |
| Phaophi | |
| Athyr | |
| Choiak | |
| Tybi | |
| Mechir | |
| Phamenoth | |
| Pharmuthi | |
| Pachon | |
| Payni | |
| Epiphi | |
| Mesori | |
| epagomenae | |
Definition at line 36 of file egyptian.hpp.
|
inlinestaticnodiscardconstexprnoexcept |
Definition at line 79 of file egyptian.hpp.

|
inlinenodiscardconstexprnoexcept |
Definition at line 66 of file egyptian.hpp.
|
inlinenodiscardconstexprnoexcept |
| u8 mtcore::calendars::systems::Egyptian::day = 1 |
Day of the month: 1-30 (epagomenae 1-5)
Definition at line 64 of file egyptian.hpp.
|
staticconstexpr |
Definition at line 34 of file egyptian.hpp.
| Month mtcore::calendars::systems::Egyptian::month = Month::Thoth |
MONTH of the year (1-13)
Definition at line 60 of file egyptian.hpp.
|
staticconstexpr |
Definition at line 35 of file egyptian.hpp.
| AstronomicalYear mtcore::calendars::systems::Egyptian::year = 0 |
Year of the date.
Definition at line 56 of file egyptian.hpp.