public final void setEndDate(Date endDate) {
                if (this.endDate == null || !this.endDate.equals(endDate)) {
                        if (endDate != null && startDate != null && endDate.before(startDate)) {
                                throw new ParameterException("The start date must be before the end date of the filter.");
                        }
                        this.endDate = endDate;
                        setChanged();
                        notifyObservers();
                }
        }
public final void setEndDate ( Date endDate ) { if ( this . endDate == null || ! this . endDate . equals ( endDate ) ) { if ( endDate != null && startDate != null && endDate . before ( startDate ) ) { throw new ParameterException ( "The start date must be before the end date of the filter." ) ; } this . endDate = endDate ; setChanged ( ) ; notifyObservers ( ) ; } }
Sets the end date.

@param endDate