def __init__(self, hm=None, **kwargs): MultiSpinOptionBox.__init__(self, ':', ( HourField(), Z60Field(), ), **kwargs) if hm == None: hm = localtime()[3:5] self.set_value(hm)
def __init__(self, date=None, **kwargs): MultiSpinOptionBox.__init__(self, "/", ( YearField(), MonthField(), DayField(), ), **kwargs) if date is None: date = localtime()[:3] self.set_value(date)
def __init__(self, hm=None, **kwargs): MultiSpinOptionBox.__init__( self, ':', ( HourField(), Z60Field(), ), **kwargs ) if hm==None: hm = localtime()[3:5] self.set_value(hm)
def __init__(self, date=None, **kwargs): MultiSpinOptionBox.__init__( self, '/', ( YearField(), MonthField(), DayField(), ), **kwargs ) if date==None: date = localtime()[:3] self.set_value(date)