()
| 9 | public 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 | } |
nothing calls this directly
no test coverage detected