MCPcopy Create free account
hub / github.com/6tail/lunar-java / next

Method next

src/main/java/com/nlf/calendar/Lunar.java:2715–2717  ·  view source on GitHub ↗

获取往后推几天的农历日期,如果要往前推,则天数用负数 @param days 天数 @return 农历日期

(int days)

Source from the content-addressed store, hash-verified

2713 * @return 农历日期
2714 */
2715 public Lunar next(int days) {
2716 return solar.next(days).getLunar();
2717 }
2718
2719 /**
2720 * 获取年所在旬(以正月初一作为新年的开始)

Callers 6

testNextMethod · 0.95
getFestivalsMethod · 0.95
testMethod · 0.45
testMethod · 0.45
getOtherFestivalsMethod · 0.45
getShuJiuMethod · 0.45

Calls 1

getLunarMethod · 0.45

Tested by 3

testNextMethod · 0.76
testMethod · 0.36
testMethod · 0.36