public byte[] encodeTime(Time d) {
public java.sql.Time encodeTime(Time d, Calendar cal, boolean invertTimeZone) {
    public byte[] encodeTime(Time d) {        datetime dt = new datetime(d);        return dt.toTimeBytes();    }