1
0
mirror of synced 2025-12-27 07:48:00 +08:00

修复早晚子时导致八字时柱和日柱错误的问题

This commit is contained in:
6tail
2020-05-27 00:08:08 +08:00
parent 3ee30dc1cc
commit 6f72edb857
2 changed files with 61 additions and 12 deletions

View File

@@ -58,4 +58,12 @@ public class BaZiTest {
System.out.println(lunar.getBaZi());
}
@Test
public void test7(){
Solar solar = new Solar(2020,5,26,23,43,0);
Lunar lunar = solar.getLunar();
//[庚子, 辛巳, 庚午, 丙子]
System.out.println(lunar.getBaZi());
}
}