1
0
mirror of synced 2026-10-21 14:06:12 +08:00

支持0001到9999年。

This commit is contained in:
6tail
2021-04-11 21:09:37 +08:00
parent b0984c52f9
commit ecccdd6380
19 changed files with 1576 additions and 1006 deletions

View File

@@ -117,6 +117,7 @@ public class SolarHalfYear {
* @param halfYears 推移的半年数,负数为倒推
* @return 推移后的半年
*/
@SuppressWarnings("MagicConstant")
public SolarHalfYear next(int halfYears){
if(0==halfYears){
return new SolarHalfYear(year,month);