DateTimeUtils { public static String formatDT(Temporal value) { return DT_FORMATTER.format(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 formatDT() { assertEquals("20070419102030.456789", DateTimeUtils.formatDT(LOCAL_DATE_TIME)); assertEquals("20070419102030.456789+0200", DateTimeUtils.formatDT(ZONED_DATE_TIME)); }