Add TimeControl::operator== and TimeControlPeriod::operator==.