def METHOD_NAME(self, cancelled):
    try:
        if not cancelled:
            self._parent.value = self._parent.value.replace(day=self._days.value,
                                                            month=self._months.value,
                                                            year=self._years.value)
    except ValueError:
        raise InvalidFields([self._days])