this.setEnd(endDate.getTime());
if (endDate.getTime() != null) { this.setEnd(endDate.getTime()); } else { this.setEnd(null); }
    public void setEndDate(Calendar endDate) {        this.setEnd(endDate.getTime());    }