Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6tail/lunar-java
/ test4
Method
test4
src/test/java/sample/BaZiTest.java:41–47 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
39
}
40
41
@Test
42
public
void
test4(){
43
Solar solar =
new
Solar(2020,1,26,21,41,0);
44
Lunar lunar = solar.getLunar();
45
//[己亥, 丙子, 戊申, 甲寅]
46
System.out.println(lunar.getBaZi());
47
}
48
49
@Test
50
public
void
test5(){
Callers
nothing calls this directly
Calls
2
getLunar
Method · 0.95
getBaZi
Method · 0.95
Tested by
no test coverage detected