DateTimeUtils { public static LocalDate parseDA(String value) { return LocalDate.from(DA_PARSER.parse(value)); }  static LocalDate parseDA(String value); static String formatDA(Temporal value); static LocalTime parseTM(String value); static LocalTime parseTMMax(String value); static String formatTM(Temporal value); static Temporal parseDT(String value); static Temporal parseDTMax(String value); static String formatDT(Temporal value); static String truncateTM(String value, int maxLength); static String truncateDT(String value, int maxLength);  }
@Test void parseDA() { assertEquals(LOCAL_DATE, DateTimeUtils.parseDA("20070419")); assertEquals(LOCAL_DATE, DateTimeUtils.parseDA("2007.04.19")); }