'Constructor
@param opts: the widget options
@keyword date_format: the date format (falls back to
deployment_settings.L10n.date_format)
@keyword time_format: the time format (falls back to
deployment_settings.L10n.time_format)
@keyword separator: the date/time separator (falls back to
deployment_settings.L10n.datetime_separator)
@keyword min: the earliest selectable datetime (datetime, overrides "past")
@keyword max: the latest selectable datetime (datetime, overrides "future")
@keyword past: the earliest selectable datetime relative to now (hours)
@keyword future: the latest selectable datetime relative to now (hours)
@keyword min_year: the earliest year in the drop-down (default: now-10 years)
@keyword max_year: the latest year in the drop-down (default: now+10 years)
@keyword hide_time: Hide the time selector (default: False)
@keyword minute_step: number of minutes per slider step (default: 5)
@keyword weeknumber: show week number in calendar widget (default: False)
@keyword month_selector: show drop-down selector for month (default: False)
@keyword year_selector: show drop-down selector for year (default: True)
@keyword buttons: show the button panel (default: True)
@keyword set_min: set a minimum for another datetime widget
@keyword set_max: set a maximum for another datetime widget'

def __init__(self, **opts):

    self.opts = Storage(opts)
    self._class = 'datetimepicker'
