1
0
mirror of synced 2026-10-10 08:46:17 +08:00

Compare commits

..

2 Commits

Author SHA1 Message Date
6tail
2fedf45007 v1.7.1 修复每日宜忌错误。 2025-02-27 21:36:09 +08:00
6tail
0d226722d6 v1.7.0 修复每日宜忌错别字。 2025-02-12 19:43:52 +08:00
6 changed files with 22 additions and 12 deletions

View File

@@ -19,3 +19,9 @@
1. 修复九星错别字。
2. 优化每日宜忌算法。
3. 去除每日宜忌的重复项。
## [1.7.0] - 2025-02-12
1. 修复每日宜忌错别字。
## [1.7.1] - 2025-02-27
1. 修复每日宜忌错误。

View File

@@ -16,7 +16,7 @@ lunar是一款无第三方依赖的公历(阳历)、农历(阴历、老黄历)
<dependency>
<groupId>cn.6tail</groupId>
<artifactId>lunar</artifactId>
<version>1.4.0</version>
<version>1.7.1</version>
</dependency>
```

View File

@@ -12,7 +12,7 @@ lunar is a calendar library for Solar and Chinese Lunar.
<dependency>
<groupId>cn.6tail</groupId>
<artifactId>lunar</artifactId>
<version>1.4.0</version>
<version>1.7.1</version>
</dependency>
```

View File

@@ -7,7 +7,7 @@
<groupId>cn.6tail</groupId>
<artifactId>lunar</artifactId>
<packaging>jar</packaging>
<version>1.4.0</version>
<version>1.7.1</version>
<name>${project.groupId}:${project.artifactId}</name>
<url>https://github.com/6tail/lunar-java</url>
<description>a calendar library for Solar and Chinese Lunar</description>

File diff suppressed because one or more lines are too long

View File

@@ -650,4 +650,11 @@ public class LunarTest {
Assert.assertEquals("闭", lunar.getZhiXing());
}
@Test
public void test96() {
Lunar lunar = Solar.fromYmd(2025, 2, 7).getLunar();
Assert.assertEquals("[嫁娶, 祭祀, 祈福, 出行, 解除, 出火, 拆卸, 动土, 入宅, 移徙, 安床, 上梁, 栽种, 纳畜, 破土, 启钻, 安葬]", lunar.getDayYi().toString());
Assert.assertEquals("[开市, 立券, 理发, 作灶]", lunar.getDayJi().toString());
}
}