interfaces.py
branchstable
changeset 2135 55fc8b488907
parent 1977 606923dff11b
child 2747 4f9ffcd8d5a2
equal deleted inserted replaced
2134:9a649393e2ef 2135:55fc8b488907
   195 
   195 
   196 class ICalendarable(Interface):
   196 class ICalendarable(Interface):
   197     """interface for items that do have a begin date 'start' and an end date 'stop'
   197     """interface for items that do have a begin date 'start' and an end date 'stop'
   198     """
   198     """
   199 
   199 
       
   200     @property
       
   201     def start(self):
       
   202         """return start date"""
       
   203 
       
   204     @property
       
   205     def stop(self):
       
   206         """return stop state"""
       
   207 
   200 class ICalendarViews(Interface):
   208 class ICalendarViews(Interface):
   201     """calendar views interface"""
   209     """calendar views interface"""
   202     def matching_dates(self, begin, end):
   210     def matching_dates(self, begin, end):
   203         """
   211         """
   204         :param begin: day considered as begin of the range (`DateTime`)
   212         :param begin: day considered as begin of the range (`DateTime`)