code: public static java.sql.Time toSqlTime(String time) {
  		java.util.Date newDate = toDate("1/1/1970", time);
  
  		if (newDate != null)
  			return new java.sql.Time(newDate.getTime());
  		else
  			return null;
  	}
docs: Converts a time String into a java.sql.Time
  
  @param time
  The time String: either HH:MM or HH:MM:SS
  @return A java.sql.Time made from the time String