@Test public void testDateParserWithUnParseable() { Date parsedDate = DateFormatUtil.parse("ABCDEFG"); Date date = new Date(System.currentTimeMillis() + 3600); assertNotNull(parsedDate); assertTrue(date.after(parsedDate)); }
public static Date parse(String s) { return parse(s, new Date()); }
DateFormatUtil { public static Date parse(String s) { return parse(s, new Date()); } }
DateFormatUtil { public static Date parse(String s) { return parse(s, new Date()); } private  DateFormatUtil(); }
DateFormatUtil { public static Date parse(String s) { return parse(s, new Date()); } private  DateFormatUtil(); static Date parse(String s); static Date parse(String s, Date defaultDate); static String format(Date d); static String toString(Date d, String format); static Date toDate(String stringRep, String format); }
DateFormatUtil { public static Date parse(String s) { return parse(s, new Date()); } private  DateFormatUtil(); static Date parse(String s); static Date parse(String s, Date defaultDate); static String format(Date d); static String toString(Date d, String format); static Date toDate(String stringRep, String format);  }