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/EightChar.java:93–95 ·
view source on GitHub ↗
获取年柱 @return 年柱
()
Source
from the content-addressed store, hash-verified
91
* @
return
年柱
92
*/
93
public
String getYear() {
94
return
lunar.getYearInGanZhiExact();
95
}
96
97
/**
98
* 获取年干
Callers
9
testGanZhi
Method · 0.95
testGanZhi2
Method · 0.95
testGanZhi3
Method · 0.95
test10
Method · 0.95
test11
Method · 0.95
test13
Method · 0.95
getBaZi
Method · 0.95
toString
Method · 0.95
getYearNaYin
Method · 0.95
Calls
1
getYearInGanZhiExact
Method · 0.80
Tested by
6
testGanZhi
Method · 0.76
testGanZhi2
Method · 0.76
testGanZhi3
Method · 0.76
test10
Method · 0.76
test11
Method · 0.76
test13
Method · 0.76