def after(self, dt, inc=False):
if self._cache_complete:<EOL><INDENT>gen = self._cache<EOL><DEDENT>else:<EOL><INDENT>gen = self<EOL><DEDENT>if inc:<EOL><INDENT>for i in gen:<EOL><INDENT>if i >= dt:<EOL><INDENT>return i<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>for i in gen:<EOL><INDENT>if i > dt:<EOL><INDENT>return i<EOL><DEDENT><DEDENT><DEDENT>return None<EOL>
Returns the first recurrence after the given datetime instance. The
            inc keyword defines what happens if dt is an occurrence. With
            inc=True, if dt itself is an occurrence, it will be returned.