public Date getDate ( int columnIndex ) { Object fieldValue = data [ columnIndex ] ; if ( fieldValue == null ) { return null ; } if ( fieldValue instanceof Date ) { return ( Date ) fieldValue ; } throw new DBFException ( "Unsupported type for Date at column:" + columnIndex + " " + fieldValue . getClass ( ) . getCanonicalName ( ) ) ; }
Reads the data as Date