@classmethod
def intersection(cls, interval1, interval2):
    """Largest interval comprised in both self and interval2"""
    return cls(max(interval1.first, interval2.first), min(interval1.last,
        interval2.last))
