Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6tail/lunar-java
/ Lunar
Method
Lunar
src/main/java/com/nlf/calendar/Lunar.java:140–142 ·
view source on GitHub ↗
默认使用当前日期初始化
()
Source
from the content-addressed store, hash-verified
138
* 默认使用当前日期初始化
139
*/
140
public
Lunar() {
141
this(
new
Date());
142
}
143
144
/**
145
* 通过农历年月日初始化
Callers
nothing calls this directly
Calls
15
fromYear
Method · 0.95
getMonth
Method · 0.95
getDayCount
Method · 0.95
fromJulianDay
Method · 0.95
getFirstJulianDay
Method · 0.95
fromYmdHms
Method · 0.95
getYear
Method · 0.95
getMonth
Method · 0.95
getDay
Method · 0.95
compute
Method · 0.95
getMonths
Method · 0.95
fromDate
Method · 0.95
Tested by
no test coverage detected