question: public static java . sql . Date toSqlDate ( String date ) { java . util . Date newDate = toDate ( date , "00:00:00" ) ; if ( newDate != null ) { return new java . sql . Date ( newDate . getTime ( ) ) ; } else { return null ; } }
target:  Converts a date String into a java.sql.Date