'Constructor
@param calendar: which calendar to use (override default)
@param date_format: the date format (override default)
@param time_format: the time format (override default)
@param separator: date-time separator (override default)
@param minimum: the minimum selectable date/time (overrides past)
@param maximum: the maximum selectable date/time (overrides future)
@param past: how many hours into the past are selectable (overrides past_months)
@param future: how many hours into the future are selectable (overrides future_months)
@param past_months: how many months into the past are selectable
@param future_months: how many months into the future are selectable
@param month_selector: show a months drop-down
@param year_selector: show a years drop-down
@param min_year: the minimum selectable year (can be relative to now like "-10")
@param max_year: the maximum selectable year (can be relative to now like "+10")
@param week_number: show the week number in the calendar
@param buttons: show the button panel (defaults to True if
the widget has a timepicker, else False)
@param timepicker: show a timepicker
@param minute_step: minute-step for the timepicker slider
@param set_min: CSS selector for another S3Calendar widget for which to
dynamically update the minimum selectable date/time from
the selected date/time of this widget
@param set_max: CSS selector for another S3Calendar widget for which to
dynamically update the maximum selectable date/time from
the selected date/time of this widget'

def __init__(self, calendar=None, date_format=None, time_format=None, separator=None, minimum=None, maximum=None, past=None, future=None, past_months=None, future_months=None, month_selector=False, year_selector=True, min_year=None, max_year=None, week_number=False, buttons=None, timepicker=False, minute_step=5, set_min=None, set_max=None, clear_text=None):

    self.calendar = calendar
    self.date_format = date_format
    self.time_format = time_format
    self.separator = separator
    self.minimum = minimum
    self.maximum = maximum
    self.past = past
    self.future = future
    self.past_months = past_months
    self.future_months = future_months
    self.month_selector = month_selector
    self.year_selector = year_selector
    self.min_year = min_year
    self.max_year = max_year
    self.week_number = week_number
    self.buttons = (buttons if (buttons is not None) else timepicker)
    self.timepicker = timepicker
    self.minute_step = minute_step
    self.set_min = set_min
    self.set_max = set_max
    self.clear_text = clear_text
    self._class = 's3-calendar-widget    datetimepicker'
