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/Tao.java:43–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
41
}
42
43
public
int
getYear() {
44
return
lunar.getYear() - BIRTH_YEAR;
45
}
46
47
public
int
getMonth() {
48
return
lunar.getMonth();
Callers
1
getYearInChinese
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected