budosystems.models.calendar.Calendar¶
- class Calendar¶
Bases:
EntityRepresents a calendar.
- cal: ical.Calendar¶
- classmethod from_ical(icaldata: str, multiple: bool = False) Calendar | List[Calendar]¶
Create a new Calendar instance from an iCal formatted string.
- Parameters:
icaldata – An iCal formatted string
multiple – Whether to process
icaldataas multiple calendars
- Returns:
A Calendar or a list of them (depending on the value of
multiple)