def __getattr__(self, name):
    if (name in self.__dict__):
        return self.__dict__[name]
    return getattr(self._rrule, name)
def __getattr__(self, name):
    if (name in self.__dict__):
        return self.__dict__[name]
    return getattr(self._rrule, name)