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

Method test

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

Source from the content-addressed store, hash-verified

9public class SolarTest {
10
11 @Test
12 public void test(){
13 //阳历今天
14 Solar date = new Solar();
15 //输出阳历信息
16 System.out.println(date.toFullString());
17 //输出阴历信息
18 System.out.println(date.getLunar().toFullString());
19 System.out.println();
20 //指定某个阳历日期
21 date = new Solar(2016,9,8);
22 System.out.println(date.toFullString());
23 System.out.println(date.getLunar().toFullString());
24 }
25
26}

Callers

nothing calls this directly

Calls 3

toFullStringMethod · 0.95
getLunarMethod · 0.95
toFullStringMethod · 0.45

Tested by

no test coverage detected