MCPcopy 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

testGanZhiMethod · 0.95
testGanZhi2Method · 0.95
testGanZhi3Method · 0.95
test10Method · 0.95
test11Method · 0.95
test13Method · 0.95
getBaZiMethod · 0.95
toStringMethod · 0.95
getYearNaYinMethod · 0.95

Calls 1

getYearInGanZhiExactMethod · 0.80

Tested by 6

testGanZhiMethod · 0.76
testGanZhi2Method · 0.76
testGanZhi3Method · 0.76
test10Method · 0.76
test11Method · 0.76
test13Method · 0.76