public static java . sql . Time toSqlTime ( int hour , int minute , int second ) { java . util . Date newDate = toDate ( 0 , 0 , 0 , hour , minute , second ) ; if ( newDate != null ) return new java . sql . Time ( newDate . getTime ( ) ) ; else return null ; }
Makes a java . sql . Time from separate ints for hour minute and second .