### Question:
B2DateTimeUtil { public static String formatSolidDate(LocalDate date) { return String.format("%04d%02d%02d", date.getYear(), date.get(ChronoField.MONTH_OF_YEAR), date.getDayOfMonth()); } B2DateTimeUtil(); static String formatSolidDate(LocalDate date); static LocalDateTime parseDateTime(String str); static String formatFguidDateTime(LocalDateTime dateTime); static Duration parseDuration(String str); static String durationString(long deltaSecs); static final long ONE_SECOND_IN_MILLIS; static final int MIN_YEAR; static final int MAX_YEAR; static final int MIN_MONTH; static final int MAX_MONTH; static final int MIN_DAY; static final int MAX_DAY; }### Answer:
@Test public void testFormatSolidDate() { Assert.assertEquals("20150314", B2DateTimeUtil.formatSolidDate(LocalDate.of(2015, 3, 14))); }