replaces deprecated java.sql.time constructor . concode_field_sep ThreadLocal<Calendar> CAL concode_field_sep void primeCalendar concode_elem_sep Calendar initialValue concode_elem_sep Timestamp createTimestamp concode_elem_sep Date createDate
Time function ( int arg0 , int arg1 , int arg2 ) { primeCalendar ( ) ; CAL . get ( ) . set ( Calendar . HOUR_OF_DAY , arg0 ) ; CAL . get ( ) . set ( Calendar . MINUTE , arg1 ) ; CAL . get ( ) . set ( Calendar . SECOND , arg2 ) ; return new Time ( CAL . get ( ) . getTimeInMillis ( ) ) ; }