|
CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
|
Functions | |
| auto | calc_lunar_year (int32_t year) -> common::LunarYear |
| Calculate the lunar year information for the given year. | |
Variables | |
| constexpr int32_t | START_YEAR |
| The first supported lunar year. | |
| constexpr int32_t | END_YEAR |
| The last supported lunar year. | |
| constexpr std::array< uint32_t,(END_YEAR - START_YEAR+1)> | LUNAR_DATA |
| The encoded binary data for each lunar year. Info for a year is stored in a uint32_t. | |
| const auto | bounds |
| The bounds of the algorithm, i.e. the supported range of lunar and Gregorian dates. | |
|
inlinenodiscard |
Calculate the lunar year information for the given year.
| year | The Lunar year. 阴历年份。 |
|
inline |
The bounds of the algorithm, i.e. the supported range of lunar and Gregorian dates.
|
inlineconstexpr |
The last supported lunar year.
|
inlineconstexpr |
The encoded binary data for each lunar year. Info for a year is stored in a uint32_t.
|
inlineconstexpr |
The first supported lunar year.