Checks if the passed in date is the same day as the instance current day.
(self, dt: datetime.datetime)
| 532 | ) |
| 533 | |
| 534 | def is_same_day(self, dt: datetime.datetime) -> bool: # type: ignore[override] |
| 535 | """ |
| 536 | Checks if the passed in date is the same day |
| 537 | as the instance current day. |
| 538 | """ |
| 539 | dt = self.instance(dt) |
| 540 | |
| 541 | return self.to_date_string() == dt.to_date_string() |
| 542 | |
| 543 | def is_anniversary( # type: ignore[override] |
| 544 | self, dt: datetime.datetime | None = None |
nothing calls this directly
no test coverage detected