### Question:
DateTimeUtil { public static String formatDateToUTC(Date date) { DateTime dateTime = new DateTime(date); return utcFormatter.print(dateTime); }  static Date parseUTCDateToDate(String utcDate); static Date parseUTCToDate(String utcDate); static DateTime parseUTCToDateTime(String utcDate); static String formatDateToUTC(Date date); final static DateTimeFormatter utcFormatter; final static DateTimeFormatter utcYMDFormatter; }### Answer:
@Test public void formatDateToUTCTest() throws Exception { Date date = new Date(1407470400000L); assertEquals("2014-08-08T04:00:00.000Z", DateTimeUtil.formatDateToUTC(date)); }