@@ -0,0 +1,561 @@
+package ericminio;%0A%0Aimport org.junit.Test;%0A%0Aimport java.time.LocalDateTime;%0Aimport java.time.Month;%0Aimport java.time.format.DateTimeFormatter;%0A%0Aimport static org.hamcrest.CoreMatchers.equalTo;%0Aimport static org.junit.Assert.assertThat;%0A%0Apublic class DateTimeFormatterTest %7B%0A%0A    @Test%0A    public void isAvailable() %7B%0A        DateTimeFormatter formatter = DateTimeFormatter.ofPattern(%22yyyy-MM-dd%22);%0A        LocalDateTime dateTime = LocalDateTime.of(2015, Month.DECEMBER, 15, 0, 0);%0A%0A        assertThat(dateTime.format(formatter), equalTo(%222015-12-15%22));%0A    %7D%0A%7D%0A

document DateTimeFormatter