code: public Date getDate(int columnIndex) throws SQLException {
  
          TimestampData t = (TimestampData) getColumnInType(columnIndex,
              Type.SQL_DATE);
  
          if (t == null) {
              return null;
          }
  
          return (Date) Type.SQL_DATE.convertSQLToJava(session, t);
      }
docs: <!-- start generic documentation -->
  Retrieves the value of the designated column in the current row
  of this <code>ResultSet</code> object as
  a <code>java.sql.Date</code> object in the Java programming language.
  <!-- end generic documentation -->
  
  @param columnIndex the first column is 1, the second is 2, ...
  @return the column value; if the value is SQL <code>NULL</code>, the
  value returned is <code>null</code>
  @exception SQLException if a database access error occurs or this method is
  called on a closed result set