public static java . sql . Date getDate ( Object value ) { try { return toDate ( value ) ; } catch ( ParseException pe ) { pe . printStackTrace ( ) ; return null ; } }
Convert an Object to a Date without an Exception