Get the farthest date from the instance.
(self, *dts: datetime.datetime)
| 501 | return min((abs(self - dt), dt) for dt in pdts)[1] |
| 502 | |
| 503 | def farthest(self, *dts: datetime.datetime) -> Self: # type: ignore[override] |
| 504 | """ |
| 505 | Get the farthest date from the instance. |
| 506 | """ |
| 507 | pdts = [self.instance(x) for x in dts] |
| 508 | |
| 509 | return max((abs(self - dt), dt) for dt in pdts)[1] |
| 510 | |
| 511 | def is_future(self) -> bool: |
| 512 | """ |