'Constructor
@param name: the name of the calendar (see _set_calendar for
supported calendars). If constructed without name,
the L10.calendar deployment setting will be used
instead.'

def __init__(self, name=None):

    self._calendars = {'Gregorian': S3Calendar, 'Persian': S3PersianCalendar, 'Afghan': S3AfghanCalendar, 'Nepali': S3NepaliCalendar}
    if (name is None):
        self._name = None
        self._calendar = None
    elif (name == self.CALENDAR):
        self._name = name
        self._calendar = self
    else:
        self._set_calendar(name)
    self._parser = None
    self._first_dow = None
