mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
commit
7e2eda7614
@ -61,8 +61,9 @@ public class LunarInfo {
|
||||
public static int yearDays(int y) {
|
||||
int i, sum = 348;
|
||||
for (i = 0x8000; i > 0x8; i >>= 1) {
|
||||
if ((getCode(y) & i) != 0)
|
||||
if ((getCode(y) & i) != 0) {
|
||||
sum += 1;
|
||||
}
|
||||
}
|
||||
return (sum + leapDays(y));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user