1
0
mirror of synced 2026-10-17 20:16:11 +08:00

v1.7.2 修复每日宜忌错误;更新2018之后的△T参数。

This commit is contained in:
6tail
2025-03-05 21:02:53 +08:00
parent 2fedf45007
commit 264481532b
8 changed files with 68 additions and 32 deletions

View File

@@ -830,7 +830,7 @@ public class LunarUtil{
Matcher matcher = Pattern.compile(day + "=(.[^;]+?);").matcher(DAY_YI_JI);
while (matcher.find()) {
String v = matcher.group(1);
if (Pattern.compile(month + "[\\w{2}]*:").matcher(v).find()) {
if (Pattern.compile(month + "(?:\\w{2})*:").matcher(v).find()) {
matcher = Pattern.compile(pattern).matcher(v);
if (matcher.find()) {
String s = matcher.group(1);

View File

@@ -56,8 +56,10 @@ public class ShouXingUtil {
2000, 63.87, 0.1, 0, 0,
2005, 64.7, 0.21, 0, 0,
2012, 66.8, 0.22, 0, 0,
2018, 69.0, 0.36, 0, 0,
2028, 72.6
2018, 73.6, 0.40, 0, 0,
2021, 78.1, 0.44, 0, 0,
2024, 83.1, 0.55, 0, 0,
2028, 98.6
};
private static final double[] XL0 = {
10000000000D,