public Time getTime(int parameterIndex, Calendar cal) throws SQLException {
    java.sql.Time time = getTime(parameterIndex);

    if (time != null && cal != null) {
      time = new java.sql.Time(Support.timeToZone(time, cal));
    }

    return time;
  }
  public Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException {
    Timestamp timestamp = getTimestamp(parameterIndex);

    if (timestamp != null && cal != null) {
      timestamp = new Timestamp(Support.timeToZone(timestamp, cal));
    }

    return timestamp;
  }
  public Date getDate(int parameterIndex, Calendar cal) throws SQLException {
    java.sql.Date date = getDate(parameterIndex);

    if (date != null && cal != null) {
      date = new java.sql.Date(Support.timeToZone(date, cal));
    }

    return date;
  }