(self, tzinfo=None, *args, **kwds)
Accept an existing Component or a tzinfo class.
Accept an existing Component or a tzinfo class.
Accept an existing Component or a tzinfo class .
def __init__(self, tzinfo=None, *args, **kwds):
        """
        Accept an existing Component or a tzinfo class.
        """
        super(TimezoneComponent, self).__init__(*args, **kwds)
        self.isNative = True
        # hack to make sure a behavior is assigned
        if self.behavior is None:
            self.behavior = VTimezone
        if tzinfo is not None:
            self.tzinfo = tzinfo
        if not hasattr(self, 'name') or self.name == '':
            self.name = 'VTIMEZONE'
            self.useBegin = True
def __init__ ( self , tzinfo = None , * args , * * kwds ) : super ( TimezoneComponent , self ) . __init__ ( * args , * * kwds ) self . isNative = True # hack to make sure a behavior is assigned if self . behavior is None : self . behavior = VTimezone if tzinfo is not None : self . tzinfo = tzinfo if not hasattr ( self , 'name' ) or self . name == '' : self . name = 'VTIMEZONE' self . useBegin = True