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

Method is_future

src/pendulum/date.py:134–138  ·  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

132 return dt2
133
134 def is_future(self) -> bool:
135 """
136 Determines if the instance is in the future, ie. greater than now.
137 """
138 return self > self.today()
139
140 def is_past(self) -> bool:
141 """

Callers 2

test_is_futureFunction · 0.45
test_is_futureFunction · 0.45

Calls 1

todayMethod · 0.95

Tested by 2

test_is_futureFunction · 0.36
test_is_futureFunction · 0.36