Intervals.
__eq__
Defines the = operator
Checks if two intervals cover the same periods :param other: :return: