diff --git a/cassandra/util.py b/cassandra/util.py index 92771033..829658d6 100644 --- a/cassandra/util.py +++ b/cassandra/util.py @@ -974,6 +974,9 @@ class Time(object): datetime.time(hour=self.hour, minute=self.minute, second=self.second, microsecond=self.nanosecond // Time.MICRO) == other + def __ne__(self, other): + return not self.__eq__(other) + def __lt__(self, other): if not isinstance(other, Time): return NotImplemented @@ -1067,7 +1070,7 @@ class Date(object): def __ne__(self, other): return not self.__eq__(other) - + def __lt__(self, other): if not isinstance(other, Date): return NotImplemented