FileManDateTimeFormat { public static DateTimeFormatter date() { if (d == null) { d = new DateTimeFormatterBuilder() .append(year()) .append(monthOfYear()) .append(dayOfMonth()) .toFormatter(); } return d; } protected  FileManDateTimeFormat(); static DateTimeFormatter date(); static DateTimeFormatter time(); static DateTimeFormatter dateTime(); static PointInTimeFormatter pointInTimeParser(); static PointInTime parse(String text); static PointInTime toPointInTime(String text); static PointInTime parsePointInTime(String text); static LocalDateTime parseLocalDateTime(String text);  }
@Test public void testFormatLocalDate() { Assert.assertEquals("2750723", FileManDateTimeFormat.date().print(new LocalDate(1975, 7, 23))); }