Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
testNext
Method · 0.95
getFestivals
Method · 0.95
test
Method · 0.45
test
Method · 0.45
getOtherFestivals
Method · 0.45
getShuJiu
Method · 0.45
Calls
1
getLunar
Method · 0.45
Tested by
3
testNext
Method · 0.76
test
Method · 0.36
test
Method · 0.36