def next_interval(self, after=None):
if after is None:<EOL><INDENT>after = timezone.now()<EOL><DEDENT>after = self.to_timezone(after)<EOL>return next(self.intervals(range_start=after), None)<EOL>
Returns the next Period this event is in effect, or None if the event
        has no remaining periods.