Calculates the earliest and last occurrence within the events