Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6tail/lunar-java
/ test7
Method
test7
src/test/java/sample/BaZiTest.java:74–80 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
72
}
73
74
@Test
75
public
void
test7(){
76
Solar solar =
new
Solar(2020,5,26,23,43,0);
77
Lunar lunar = solar.getLunar();
78
//[庚子, 辛巳, 庚午, 丙子]
79
System.out.println(lunar.getBaZi());
80
}
81
82
@Test
83
public
void
testBazi2Solar7() {
Callers
nothing calls this directly
Calls
2
getLunar
Method · 0.95
getBaZi
Method · 0.95
Tested by
no test coverage detected