[interfaces] describe more explicitly what should be implemente in the ICalendarable interface stable
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 23 Jun 2009 10:53:57 +0200
branchstable
changeset 2135 55fc8b488907
parent 2134 9a649393e2ef
child 2136 ffd6c68bc485
[interfaces] describe more explicitly what should be implemente in the ICalendarable interface
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):