Beispiel #1
0
 def between_days(self, startday, endday):
     """
     returns the Events (not occurrences) that occur in a given date range.
     If datetimes are supplied, they are clamped to the beginning and end of their respective days.
     """
     occurrences = self.occurrences_between_days(startday, endday)
     return occurrences_to_events(occurrences)
Beispiel #2
0
 def between(self, start, end):
     """
     returns the Events (not occurrences) that occur in a given datetime range
     In most calendar applications you want to use between_days.
     """
     occurrences = self.occurrences_between(start, end)
     return occurrences_to_events(occurrences)
 def between_days(self, startday, endday):
     """
     returns the Events (not occurrences) that occur in a given date range.
     If datetimes are supplied, they are clamped to the beginning and end of their respective days.
     """
     occurrences = self.occurrences_between_days(startday, endday)
     return occurrences_to_events(occurrences)
 def between(self, start, end):
     """
     returns the Events (not occurrences) that occur in a given datetime range
     In most calendar applications you want to use between_days.
     """
     occurrences = self.occurrences_between(start, end)
     return occurrences_to_events(occurrences)
Beispiel #5
0
 def on_day(self, day):
     occurrences = self.occurrences_on_day(day)
     return occurrences_to_events(occurrences)
 def on_day(self, day):
     occurrences = self.occurrences_on_day(day)
     return occurrences_to_events(occurrences)