public static Timestamp toTimestamp(Date d){
  return new Timestamp(d.getTime());
}

public static Timestamp toTimestamp ( Date d ) { return new Timestamp ( d . getTime ( ) ) ; }
return a java . sql . timestamp given a java . util . date .
