This commit is contained in:
Looly 2024-03-12 17:59:33 +08:00
parent 126674a453
commit d18babc83f

View File

@ -0,0 +1,14 @@
package cn.hutool.core.date;
import org.junit.Assert;
import org.junit.Test;
public class IssueI97WU6Test {
@Test
public void getTermTest() {
// 润十月没有三十十月有三十
final ChineseDate chineseDate = new ChineseDate(1984, 10, 30, false);
Assert.assertEquals("甲子鼠年 寒月三十", chineseDate.toString());
Assert.assertEquals("小雪", chineseDate.getTerm());
}
}