'Constructor
@param calendar: the calendar'

def __init__(self, calendar):

    if (not calendar):
        raise TypeError(('Invalid    calendar:    %s    (%s)' % (calendar, type(calendar))))
    self.calendar = calendar.calendar
