|
CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
|
Information of the lunar year. 阴历年信息。 More...
#include <common.hpp>
Public Attributes | |
| year_month_day | date_of_first_day |
| The date of the first day of the lunar year in gregorian calendar. 本阴历年第一天对应的公历日期。 | |
| uint8_t | leap_month |
| The month of the leap month (1 <= leap_month <= 12). If 0, there is no leap month. 闰月的月份 (1-12),如果为 0 则没有闰月。 | |
| std::vector< uint32_t > | month_lengths |
| The number of days in all months in the lunar year. There are 12 elements if there is no leap year, otherwise there are 13 elements. 本阴历年每个月的天数。 如果没有闰月,那么有 12 个元素;如果有闰月,那么有 13 个元素。 | |
Information of the lunar year. 阴历年信息。
| year_month_day calendar::lunar::common::LunarYear::date_of_first_day |
The date of the first day of the lunar year in gregorian calendar. 本阴历年第一天对应的公历日期。
| uint8_t calendar::lunar::common::LunarYear::leap_month |
The month of the leap month (1 <= leap_month <= 12). If 0, there is no leap month. 闰月的月份 (1-12),如果为 0 则没有闰月。
| std::vector<uint32_t> calendar::lunar::common::LunarYear::month_lengths |
The number of days in all months in the lunar year. There are 12 elements if there is no leap year, otherwise there are 13 elements. 本阴历年每个月的天数。 如果没有闰月,那么有 12 个元素;如果有闰月,那么有 13 个元素。