@Test
public void solarToLunar() throws Exception {

    System.out.println("阳历转阴历: ");
    String origin1 = "1994-02-04";
    String origin2 = "2015-12-04";
    String expectLunarDate1 = "1993-12-24";
    String result1 = ChinaDate.solarToLunar(origin1, true);
    String result2 = ChinaDate.solarToLunar(origin2, false);
    assertTrue(expectLunarDate1.equals(result1));
    System.out.println("阳历：" + origin1 + " 转为 阴历：" + result1);
    System.out.println("阳历：" + origin2 + " 转为 " + result2);
}