convert from date java.util.date to sqldate java.sql.date concode_field_sep PlaceHolder placeHolder concode_field_sep Date sqlDate2date concode_elem_sep Date string2date concode_elem_sep Date string2date concode_elem_sep int diff concode_elem_sep String date2string concode_elem_sep String date2string
java . sql . Date function ( Date arg0 ) { Calendar loc0 = Calendar . getInstance ( ) ; loc0 . setTime ( arg0 ) ; long loc1 = loc0 . getTime ( ) . getTime ( ) ; java . sql . Date loc2 = new java . sql . Date ( loc1 ) ; return loc2 ; }