From b57800b0d85bf4b30a9a16e9a6daf5adcc1f4dd1 Mon Sep 17 00:00:00 2001 From: Maximilian Giller Date: Sat, 23 Feb 2019 22:11:49 +0100 Subject: [PATCH] Created CalendarInterface --- Calendar/CalendarInterface.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Calendar/CalendarInterface.py diff --git a/Calendar/CalendarInterface.py b/Calendar/CalendarInterface.py new file mode 100644 index 0000000..cc1e4a3 --- /dev/null +++ b/Calendar/CalendarInterface.py @@ -0,0 +1,18 @@ +from DataSourceInterface import DataSourceInterface + +class CalendarInterface (DataSourceInterface): + """Interface for fetching and processing calendar event information.""" + def get_upcoming_events(self, count): + raise NotImplementedError("Functions needs to be implemented") + + def get_today_events(self): + raise NotImplementedError("Functions needs to be implemented") + + def get_day_events(self): + raise NotImplementedError("Functions needs to be implemented") + + def get_month_events(self, count): + raise NotImplementedError("Functions needs to be implemented") + + def get_week_events(self, count): + raise NotImplementedError("Functions needs to be implemented") \ No newline at end of file