@Test public void testConvertToTimestamp02() { Exception ex = assertThrows(IllegalArgumentException.class, () -> DateConvertUtils.convertToTimestamp(null)); assertThat(ex.getMessage(), is("date must not be null")); }
public static Timestamp convertToTimestamp(java.util.Date date) { assertArgs(date); Timestamp timestamp = new Timestamp(date.getTime()); return timestamp; }
DateConvertUtils { public static Timestamp convertToTimestamp(java.util.Date date) { assertArgs(date); Timestamp timestamp = new Timestamp(date.getTime()); return timestamp; } }
DateConvertUtils { public static Timestamp convertToTimestamp(java.util.Date date) { assertArgs(date); Timestamp timestamp = new Timestamp(date.getTime()); return timestamp; } private  DateConvertUtils(); }
DateConvertUtils { public static Timestamp convertToTimestamp(java.util.Date date) { assertArgs(date); Timestamp timestamp = new Timestamp(date.getTime()); return timestamp; } private  DateConvertUtils(); static Timestamp convertToTimestamp(java.util.Date date); static java.sql.Date convertToSqlDate(java.util.Date date); static Time convertToTime(java.util.Date date); }
DateConvertUtils { public static Timestamp convertToTimestamp(java.util.Date date) { assertArgs(date); Timestamp timestamp = new Timestamp(date.getTime()); return timestamp; } private  DateConvertUtils(); static Timestamp convertToTimestamp(java.util.Date date); static java.sql.Date convertToSqlDate(java.util.Date date); static Time convertToTime(java.util.Date date);  }