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