@Test(expected = IllegalArgumentException.class) public void testToUtcDate_nullDateStr() { DateUtil.toUtcDate(null); }
public static Date toUtcDate(String dateStr) { notNull(dateStr, "dateStr can't be null"); try { return buildDateFormat().parse(dateStr); } catch (ParseException e) { throw new RuntimeException(e); } }
DateUtil { public static Date toUtcDate(String dateStr) { notNull(dateStr, "dateStr can't be null"); try { return buildDateFormat().parse(dateStr); } catch (ParseException e) { throw new RuntimeException(e); } } }
DateUtil { public static Date toUtcDate(String dateStr) { notNull(dateStr, "dateStr can't be null"); try { return buildDateFormat().parse(dateStr); } catch (ParseException e) { throw new RuntimeException(e); } }  }
DateUtil { public static Date toUtcDate(String dateStr) { notNull(dateStr, "dateStr can't be null"); try { return buildDateFormat().parse(dateStr); } catch (ParseException e) { throw new RuntimeException(e); } }  static Date toUtcDate(String dateStr); static String toDateString(Instant instant); static String toUtcDateString(Instant instant); static Date now(); }
DateUtil { public static Date toUtcDate(String dateStr) { notNull(dateStr, "dateStr can't be null"); try { return buildDateFormat().parse(dateStr); } catch (ParseException e) { throw new RuntimeException(e); } }  static Date toUtcDate(String dateStr); static String toDateString(Instant instant); static String toUtcDateString(Instant instant); static Date now();  }