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

Method test

src/test/java/sample/LunarTest.java:11–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9public class LunarTest {
10
11 @Test
12 public void test(){
13 //今天
14 Lunar date = new Lunar();
15 //输出阴历信息
16 System.out.println(date.toFullString());
17 //输出阳历信息
18 System.out.println(date.getSolar().toFullString());
19 System.out.println();
20 //指定阴历的某一天
21 date = new Lunar(1986,4,21);
22 System.out.println(date.toFullString());
23 System.out.println(date.getSolar().toFullString());
24 }
25
26}

Callers

nothing calls this directly

Calls 3

toFullStringMethod · 0.95
getSolarMethod · 0.95
toFullStringMethod · 0.45

Tested by

no test coverage detected