private boolean filterDate(ILogEntry logEntry,Date startDate,Date endDate){
  Date date=logEntry.getDate();
  if (date == null) {
    return true;
  }
  if ((startDate != null) && date.before(startDate)) {
    return false;
  }
  if ((endDate != null) && date.after(endDate)) {
    return false;
  }
  return true;
}

private boolean filterDate ( ILogEntry logEntry , Date startDate , Date endDate ) { Date date = logEntry . getDate ( ) ; if ( date == null ) { return true ; } if ( ( startDate != null ) && date . before ( startDate ) ) { return false ; } if ( ( endDate != null ) && date . after ( endDate ) ) { return false ; } return true ; }
returns if the logentry ' s date matches the given start and end date .
