MCPcopy Create free account
hub / github.com/6tail/lunar-java / test

Method test

src/test/java/sample/MonthTest.java:13–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11public class MonthTest {
12
13 @Test
14 public void test() {
15 //下个月
16 SolarMonth month = new SolarMonth().next(1);
17 //遍历每一天
18 for (Solar d : month.getDays()) {
19 //输出阳历信息
20 System.out.println(d.toFullString());
21 //输出阴历信息
22 System.out.println(d.getLunar().toFullString());
23 System.out.println();
24 }
25 }
26
27 @Test
28 public void test1() {

Callers

nothing calls this directly

Calls 4

getDaysMethod · 0.95
nextMethod · 0.45
toFullStringMethod · 0.45
getLunarMethod · 0.45

Tested by

no test coverage detected