1
0
mirror of synced 2026-02-08 14:08:00 +08:00

Merge branch 'v1.1.0-SNAPSHOT'

This commit is contained in:
6tail
2020-10-17 20:03:48 +08:00

View File

@@ -1903,8 +1903,11 @@ public class Lunar{
}
// 寅月起,所以需要-2
int monthIndex = monthZhiIndex-2;
if(monthIndex<0){
monthIndex += 12;
}
int index = start-monthIndex-1;
if(index<0){
while(index<0){
index += 9;
}
return new NineStar(index);