this.setBeginningDate(calendar.getTime());
if (calendar.getTime() != null) { this.setBeginningDate(calendar.getTime()); } else { this.setBeginningDate(null); }
    public void setBeginning(Calendar calendar) {        this.setBeginningDate(calendar.getTime());    }