MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / is_future

Method is_future

src/pendulum/datetime.py:511–515  ·  view source on GitHub ↗

Determines if the instance is in the future, ie. greater than now.

(self)

Source from the content-addressed store, hash-verified

509 return max((abs(self - dt), dt) for dt in pdts)[1]
510
511 def is_future(self) -> bool:
512 """
513 Determines if the instance is in the future, ie. greater than now.
514 """
515 return self > self.now(self.timezone)
516
517 def is_past(self) -> bool:
518 """

Callers

nothing calls this directly

Calls 1

nowMethod · 0.95

Tested by

no test coverage detected