- class plone.app.event.recurrence.EventOccurrenceAccessor(context)¶
Generic event accessor adapter implementation for Occurrence objects.
- class plone.app.event.recurrence.ImageScalingViewFactory(context, request)¶
Factory for ImageScaling view for Occurrences. Delegates to parent @@images view.
- class plone.app.event.recurrence.Occurrence(id, start, end)¶
Transient Occurrence object, representing an individual event in a recurrecne set.
- class plone.app.event.recurrence.OccurrenceTraverser(context, request)¶
Generic Occurrence traverser.
Please note: the .at and .dx subpackages implement their own Occurrence traversers.
- class plone.app.event.recurrence.RecurrenceSupport(context)¶
- occurrences(range_start=None, range_end=None)¶
Return all occurrences of an event, possibly within a start and end limit.
range_start (Python datetime) – Optional start datetime, from which you want occurrences be returned.
range_end (Python datetime) – Optional start datetime, from which you want occurrences be returned.
List of occurrences, including the start event.
- Return type
IEvent or IOccurrence based objects
- Please note: Events beginning before range_start but ending afterwards
won’t be found.
TODO: test with event start = 21st feb, event end = start+36h, recurring for 10 days, range_start = 1st mar, range_end = last Mark