2019-02-20 18:57:55 +01:00
|
|
|
class CalendarEvent (object):
|
|
|
|
"""Defines a calendar event, independent of any implementation"""
|
|
|
|
def __init__ (self):
|
2019-02-26 16:23:27 +01:00
|
|
|
self.begin_datetime = None
|
|
|
|
self.end_datetime = None
|
2019-03-16 18:50:52 +01:00
|
|
|
self.duration = None
|
2019-03-21 22:29:23 +01:00
|
|
|
self.allday = None
|
2019-03-23 12:24:43 +01:00
|
|
|
self.rrule = None
|
2019-02-20 18:57:55 +01:00
|
|
|
|
|
|
|
self.title = None
|
|
|
|
self.description = None
|
|
|
|
self.attendees = []
|
|
|
|
self.highlight = None
|
|
|
|
|
2019-02-25 21:43:27 +01:00
|
|
|
self.calendar_name = None
|
|
|
|
|
|
|
|
self.location = None
|
2019-02-26 21:41:12 +01:00
|
|
|
self.fetch_datetime = None
|
|
|
|
|
|
|
|
def __repr__(self):
|
|
|
|
return self.title
|