v1.7.2 修复每日宜忌错误;更新2018之后的△T参数。
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user