Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6tail/lunar-java
/ isLeapYear
Method
isLeapYear
src/main/java/com/nlf/calendar/Solar.java:381–383 ·
view source on GitHub ↗
是否闰年 @return true/false 闰年/非闰年
()
Source
from the content-addressed store, hash-verified
379
* @
return
true/false 闰年/非闰年
380
*/
381
public
boolean isLeapYear() {
382
return
SolarUtil.isLeapYear(year);
383
}
384
385
/**
386
* 获取星期,0代表周日,1代表周一
Callers
1
toFullString
Method · 0.95
Calls
1
isLeapYear
Method · 0.95
Tested by
no test coverage detected