Compare to anything
This commit is contained in:
parent
b69fd0980b
commit
774c8eed67
@ -93,6 +93,8 @@ class Rdate:
|
||||
return Rdate(res.__str__())
|
||||
|
||||
def __eq__(self, other):
|
||||
if not isinstance(other, Rdate):
|
||||
return False
|
||||
return self.intdate == other.intdate
|
||||
|
||||
def __ge__(self, other):
|
||||
|
Loading…
Reference in New Issue
Block a user