public Date getDateToCommit() {
    Calendar c = getCalendar(focusDate);
    if (explicitDateSetToNullFlag
        || (vetoPolicy != null && vetoPolicy.isRestricted(this, c)))
      return date;
    return focusDate;
  }
public Date getDateToCommit()