budosystems.models.calendar.Calendar¶
- class Calendar¶
Bases:
Entity
Represents 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
icaldata
as multiple calendars
- Returns:
A Calendar or a list of them (depending on the value of
multiple
)