### Question:
B2DateTimeUtil { public static String formatFguidDateTime(LocalDateTime dateTime) { return String.format( "d%04d%02d%02d_m%02d%02d%02d", dateTime.getYear(), dateTime.getMonthValue(), dateTime.getDayOfMonth(), dateTime.getHour(), dateTime.getMinute(), dateTime.getSecond() ); } 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 testFormatFguidDateTime() { final LocalDateTime dateTime = B2DateTimeUtil.parseDateTime("2015-03-14T09:26:54"); Assert.assertEquals("d20150314_m092654", B2DateTimeUtil.formatFguidDateTime(dateTime)); }