@@ -0,0 +1,1733 @@
+package moontime.examples;%0A%0Aimport java.util.Calendar;%0Aimport java.util.EnumSet;%0Aimport java.util.List;%0A%0Aimport moontime.MoonEvent;%0Aimport moontime.MoonEventType;%0Aimport moontime.alg.MoonToolPhaseAlgorithm;%0Aimport moontime.rise.LuminaryDayTimesCalculator;%0Aimport moontime.rise.LuminaryDayTimesCalculator.DayTimes;%0Aimport moontime.rise.MoonTimesCalculator;%0Aimport moontime.rise.SunTimesCalculator;%0Aimport moontime.testsupport.TestConstants;%0A%0Aimport org.junit.Test;%0A%0Apublic class ShowCase %7B%0A%0A    private Calendar _now = Calendar.getInstance();%0A    %0A    @Test%0A    public void testNextMoonEvents() throws Exception %7B%0A        System.out.println(%22next moon events:%22);%0A        MoonToolPhaseAlgorithm phaseAlgorithm = new MoonToolPhaseAlgorithm();%0A        List%3CMoonEvent%3E nextMoonEvents = phaseAlgorithm.getNextMoonEvents(_now, 3, EnumSet.of(MoonEventType.FULL_MOON,MoonEventType.NEW_MOON));%0A        for (MoonEvent moonEvent : nextMoonEvents) %7B%0A            System.out.println(%22%5Ct:%22+moonEvent);%0A        %7D%0A    %7D%0A    %0A    @Test%0A    public void testSunMoonRise() throws Exception %7B%0A         LuminaryDayTimesCalculator moon = new MoonTimesCalculator(TestConstants.LEIPZIG_LONGITUDE, TestConstants.LEIPZIG_LATITUDE);%0A         DayTimes moonDayTimes = moon.calculateDayTimes(_now);%0A         System.out.println(%22%5Cnmoonrise (%22+moonDayTimes.getDay().getTime()+%22):%22);%0A         System.out.println(%22%5Ct%22+moonDayTimes);%0A         %0A         LuminaryDayTimesCalculator sun = new SunTimesCalculator(TestConstants.LEIPZIG_LONGITUDE, TestConstants.LEIPZIG_LATITUDE);%0A         DayTimes sunDayTimes = sun.calculateDayTimes(_now);%0A         System.out.println(%22%5Cnsunrise (%22+sunDayTimes.getDay().getTime()+%22):%22);%0A         System.out.println(%22%5Ct%22+sunDayTimes);%0A    %7D%0A%7D%0A

add showCase class