public void setDate(Date date) throws PropertyVetoException {
    if (!checkDate(date)) {
      PropertyChangeEvent propertyChangeEvent = new PropertyChangeEvent(
          this, PROPERTY_NAME_DATE, this.date, date);
      throw new PropertyVetoException(
          "Value vetoed by current vetoPolicy", propertyChangeEvent);
    }
    Date old = this.date;
    this.date = date;
    if (old != null || date != null) {
      firePropertyChange(PROPERTY_NAME_DATE, old, date);
    }
  }
public void setDate(Date date)