(self, other)
| 529 | self.month = _validate_month(month, self._default_month) |
| 530 | |
| 531 | def __apply__(self, other): |
| 532 | reference_day = _get_day_of_month(other, self._day_option) |
| 533 | years = _adjust_n_years(other, self.n, self.month, reference_day) |
| 534 | months = years * 12 + (self.month - other.month) |
| 535 | return _shift_month(other, months, self._day_option) |
| 536 | |
| 537 | def __sub__(self, other): |
| 538 | if TYPE_CHECKING: |
nothing calls this directly
no test coverage detected