mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix check bug
This commit is contained in:
@@ -95,4 +95,10 @@ public class ChineseDateTest {
|
||||
date = new ChineseDate(DateUtil.parseDate("1991-09-15"));
|
||||
Assert.assertEquals("辛未羊年 八月初八", date.toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void dateTest2(){
|
||||
ChineseDate date = new ChineseDate(DateUtil.parse("2020-10-19 11:12:23"));
|
||||
Assert.assertEquals("庚子鼠年 九月初三", date.toString());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user