protected String handleDate(ResultSet rs,int columnIndex,String dateFormatString) throws SQLException {
  java.sql.Date date=rs.getDate(columnIndex);
  String value=null;
  if (date != null) {
    SimpleDateFormat dateFormat=new SimpleDateFormat(dateFormatString);
    value=dateFormat.format(date);
  }
  return value;
}

protected String handleDate ( ResultSet rs , int columnIndex , String dateFormatString ) throws SQLException { java . sql . Date date = rs . getDate ( columnIndex ) ; String value = null ; if ( date != null ) { SimpleDateFormat dateFormat = new SimpleDateFormat ( dateFormatString ) ; value = dateFormat . format ( date ) ; } return value ; }
retrieves a date from the result set .
