1、在你的项目中需要引入hutool的jar包
3、ChineseDate date = new ChineseDate(dateTime);//将这个时间转换成农历时间对象
5、运行程序查看得到的结果