1
0
mirror of synced 2025-12-29 00:37:59 +08:00

optimized codes and fix negative month bug @ Lunar.getXiu()

This commit is contained in:
6tail
2019-05-05 15:45:00 +08:00
parent c196e58ec8
commit 6db884b981
16 changed files with 366 additions and 109 deletions

View File

@@ -9,6 +9,8 @@ import java.util.List;
/**
* 阳历周
*
* @author 6tail
*/
public class SolarWeek {
/** 年 */
@@ -266,6 +268,7 @@ public class SolarWeek {
return l;
}
@Override
public String toString(){
return year+"."+month+"."+getIndex();
}
@@ -273,4 +276,4 @@ public class SolarWeek {
public String toFullString(){
return year+""+month+"月第"+getIndex()+"";
}
}
}