@@ -0,0 +1,1118 @@
+package nmmb;%0A%0Aimport java.text.ParseException;%0Aimport java.text.SimpleDateFormat;%0A%0Aimport java.util.Date;%0A%0Aimport org.apache.logging.log4j.LogManager;%0Aimport org.apache.logging.log4j.Logger;%0A%0Aimport org.junit.Test;%0A%0A%0Apublic class NmmbTest %7B%0A%0A    // Test Logger%0A    private static final Logger LOGGER = LogManager.getLogger(%22Console%22);%0A%0A%0A    @Test%0A    public void dateParsing() %7B%0A        final SimpleDateFormat STR_TO_DATE = new SimpleDateFormat(%22yyyyMMdd%22);%0A        final long ONE_DAY_IN_SECONDS = 1 * 24 * 60 * 60;%0A%0A        // Date to convert%0A        String inputDateSTR = %2220140901%22;%0A%0A        // Load date%0A        Date date = null;%0A        try %7B%0A            date = STR_TO_DATE.parse(inputDateSTR);%0A        %7D catch (ParseException pe) %7B%0A            LOGGER.error(%22%5BERROR%5D Cannot parse date%22, pe);%0A            LOGGER.error(%22Aborting...%22);%0A            System.exit(1);%0A        %7D%0A%0A        // Increase date by one day%0A        LOGGER.info(%22Start : %22 + STR_TO_DATE.format(date));%0A        date = Date.from(date.toInstant().plusSeconds(ONE_DAY_IN_SECONDS));%0A        LOGGER.info(%22End   : %22 + STR_TO_DATE.format(date));%0A    %7D%0A%7D%0A

Add NMMB unit tests