Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6tail/lunar-java
/ getYear
Method
getYear
src/main/java/com/nlf/calendar/Lunar.java:2577–2579 ·
view source on GitHub ↗
获取年份 @return 如2015
()
Source
from the content-addressed store, hash-verified
2575
* @
return
如2015
2576
*/
2577
public
int
getYear() {
2578
return
year;
2579
}
2580
2581
/**
2582
* 获取月份
Callers
14
testLunarTimeGanZhi
Method · 0.95
testLunarTimeGan
Method · 0.95
Lunar
Method · 0.45
computeYear
Method · 0.45
computeDay
Method · 0.45
getJie
Method · 0.45
getQi
Method · 0.45
getFestivals
Method · 0.45
getJieQi
Method · 0.45
getCurrentJieQi
Method · 0.45
getCurrentJie
Method · 0.45
getCurrentQi
Method · 0.45
Calls
no outgoing calls
Tested by
2
testLunarTimeGanZhi
Method · 0.76
testLunarTimeGan
Method · 0.76