https://6tail.cn/calendar/api.html#start.html
// maven <dependency> <groupId>cn.6tail</groupId> <artifactId>lunar</artifactId> <version>1.2.28</version> </dependency> // gradle implementation 'com.github.6tail:lunar-java:v1.2.28' import com.nlf.calendar.Lunar; import com.nlf.calendar.Solar; import com.nlf.calendar.util.HolidayUtil; System.out.println(Lunar.fromDate(new Date()).toFullString()); System.out.println(Solar.fromYmd(2016, 1, 1).toFullString()); System.out.println(HolidayUtil.getHoliday(2020, 5, 2));
标签:类库,java,地去,System,nlf,calendar,com,out From: https://www.cnblogs.com/kelelipeng/p/17083555.html