calendar: 补齐前104古历纪年解析与回归测试

- 为先秦与秦汉古历结果填充周、鲁、秦、西汉早期纪年信息
- 支持默认与显式古历下的年号日期解析
This commit is contained in:
2026-06-11 09:33:46 +08:00
parent a8e7513683
commit 25dc7ac0bc
7 changed files with 373 additions and 7 deletions
+1
View File
@@ -74,6 +74,7 @@ func qinHanTime(date time.Time, month qinHanMonth) Time {
day: month.day,
leap: month.leap,
desc: formatQinHanLunarDateString(month.month, month.day, month.leap),
eras: ancientErasForLunarYear(month.lunarYear, AncientCalendarQinHan),
},
},
}