# HG changeset patch # User Adrien Di Mascio # Date 1245747237 -7200 # Node ID 55fc8b488907199fa7d59a7f94bff11833be3aa1 # Parent 9a649393e2ef82f62e8b4f248c06e3cbe4858118 [interfaces] describe more explicitly what should be implemente in the ICalendarable interface diff -r 9a649393e2ef -r 55fc8b488907 interfaces.py --- a/interfaces.py Tue Jun 23 08:44:42 2009 +0200 +++ b/interfaces.py Tue Jun 23 10:53:57 2009 +0200 @@ -197,6 +197,14 @@ """interface for items that do have a begin date 'start' and an end date 'stop' """ + @property + def start(self): + """return start date""" + + @property + def stop(self): + """return stop state""" + class ICalendarViews(Interface): """calendar views interface""" def matching_dates(self, begin, end):