@Test public void test() throws ParseException { Date date = new Date(); System.out.println(" formatISO8601Date: " + DateUtils.formatISO8601Date(date)); System.out.println("alternateIso8601DateFormat: " + DateUtils.alternateIso8601DateFormat.print(date.getTime())); }
public static String formatISO8601Date(Date date) { try { return iso8601DateFormat.print(date.getTime()); } catch(RuntimeException ex) { throw handleException(ex); } }
DateUtils { public static String formatISO8601Date(Date date) { try { return iso8601DateFormat.print(date.getTime()); } catch(RuntimeException ex) { throw handleException(ex); } } }
DateUtils { public static String formatISO8601Date(Date date) { try { return iso8601DateFormat.print(date.getTime()); } catch(RuntimeException ex) { throw handleException(ex); } }  }
DateUtils { public static String formatISO8601Date(Date date) { try { return iso8601DateFormat.print(date.getTime()); } catch(RuntimeException ex) { throw handleException(ex); } }  static Date parseISO8601Date(String dateString); static String formatISO8601Date(Date date); static String formatISO8601Date(DateTime date); static Date parseRFC822Date(String dateString); static String formatRFC822Date(Date date); static Date parseCompressedISO8601Date(String dateString); static Date parseServiceSpecificDate(String dateString); static Date parseUnixTimestampInMillis(String dateString); static String formatServiceSpecificDate(Date date); static String formatUnixTimestampInMills(Date date); static Date cloneDate(Date date); static long numberOfDaysSinceEpoch(long milliSinceEpoch); }
DateUtils { public static String formatISO8601Date(Date date) { try { return iso8601DateFormat.print(date.getTime()); } catch(RuntimeException ex) { throw handleException(ex); } }  static Date parseISO8601Date(String dateString); static String formatISO8601Date(Date date); static String formatISO8601Date(DateTime date); static Date parseRFC822Date(String dateString); static String formatRFC822Date(Date date); static Date parseCompressedISO8601Date(String dateString); static Date parseServiceSpecificDate(String dateString); static Date parseUnixTimestampInMillis(String dateString); static String formatServiceSpecificDate(Date date); static String formatUnixTimestampInMills(Date date); static Date cloneDate(Date date); static long numberOfDaysSinceEpoch(long milliSinceEpoch);  }