Generate lunar-month metadata after a JDE(TT). 生成给定 JDE(TT) 后的阴历月元数据。
More...
#include <algo2.hpp>
Generate lunar-month metadata after a JDE(TT). 生成给定 JDE(TT) 后的阴历月元数据。
- Note
- Month membership compares UTC+8 civil dates, not instants. 归月比较 UTC+8 日期,不比较时刻。
-
peek may assemble and cache a month. The new moon ending that month and the first Jieqi on or after its ending UTC+8 date remain pending in their generators. peek 可计算并缓存整月;月末的朔,以及月末 UTC+8 日期当天或之后的第一个节气,仍留在各自生成器中。
◆ LunarMonthGenerator()
| calendar::lunar::algo2::LunarMonthGenerator::LunarMonthGenerator |
( |
const double | start_jde | ) |
|
|
inlineexplicit |
◆ next()
| auto calendar::lunar::algo2::LunarMonthGenerator::next |
( |
| ) |
->LunarMonth |
|
inlinenodiscard |
Get the metadata of the next lunar month.
◆ peek()
| auto calendar::lunar::algo2::LunarMonthGenerator::peek |
( |
| ) |
->LunarMonth |
|
inlinenodiscard |
Peek the metadata of the next lunar month, without advancing.
The documentation for this struct was generated from the following file: