2019-02-23 22:11:49 +01:00
|
|
|
from DataSourceInterface import DataSourceInterface
|
|
|
|
|
|
|
|
class CalendarInterface (DataSourceInterface):
|
|
|
|
"""Interface for fetching and processing calendar event information."""
|
2019-02-26 17:30:53 +01:00
|
|
|
def get_upcoming_events(self):
|
2019-02-23 22:11:49 +01:00
|
|
|
raise NotImplementedError("Functions needs to be implemented")
|
|
|
|
|
|
|
|
def get_today_events(self):
|
|
|
|
raise NotImplementedError("Functions needs to be implemented")
|
|
|
|
|
2019-02-26 17:30:53 +01:00
|
|
|
def get_day_events(self, date):
|
2019-02-23 22:11:49 +01:00
|
|
|
raise NotImplementedError("Functions needs to be implemented")
|
|
|
|
|
2019-02-26 21:37:18 +01:00
|
|
|
def get_month_events(self, month = -1):
|
2019-02-23 22:11:49 +01:00
|
|
|
raise NotImplementedError("Functions needs to be implemented")
|
|
|
|
|
2019-02-26 21:37:18 +01:00
|
|
|
def get_week_events(self, week = -1):
|
2019-02-23 22:11:49 +01:00
|
|
|
raise NotImplementedError("Functions needs to be implemented")
|