1
0
mirror of synced 2025-12-27 15:57:59 +08:00

v1.2.16 补充灶马头相关内容;修复九星错误;新增太岁方位;新增道历天赦日;修复八字转阳历的错误;优化代码。

This commit is contained in:
6tail
2022-01-02 17:36:12 +08:00
parent c91bcc5da7
commit e010e64f1a
12 changed files with 683 additions and 166 deletions

View File

@@ -278,7 +278,7 @@ public class Solar {
if (offsetYear < 0) {
offsetYear = offsetYear + 60;
}
int startYear = today.getYear() - offsetYear;
int startYear = lunar.getYear() - offsetYear;
int hour = 0;
String timeZhi = timeGanZhi.substring(1);
for (int i = 0, j = LunarUtil.ZHI.length; i < j; i++) {