You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These need to be added after the __sub__ function in epoch.rs:
__sub__ with an Epoch -- if it isn't possible to overload this function with pyo3, a specific function will need to be provided, e.g. timedelta to use as my_epoch.timedelta(another_epoch)
Functions for the >, < operators
__eq__ for Epoch and Duration
Duration also needs the operators >, <, ==. .
The text was updated successfully, but these errors were encountered:
These need to be added after the
__sub__
function inepoch.rs
:__sub__
with an Epoch -- if it isn't possible to overload this function with pyo3, a specific function will need to be provided, e.g.timedelta
to use asmy_epoch.timedelta(another_epoch)
>
,<
operators__eq__
forEpoch
andDuration
Duration also needs the operators
>
,<
,==
. .The text was updated successfully, but these errors were encountered: