plone.app.event.recurrence¶
-
class
plone.app.event.recurrence.
EventOccurrenceAccessor
(context)[source]¶ Generic event accessor adapter implementation for Occurrence objects.
-
class
plone.app.event.recurrence.
ImageScalingViewFactory
(context, request)[source]¶ Factory for ImageScaling view for Occurrences. Delegates to parent @@images view.
-
class
plone.app.event.recurrence.
Occurrence
(id, start, end)[source]¶ Transient Occurrence object, representing an individual event in a recurrecne set.
-
class
plone.app.event.recurrence.
OccurrenceTraverser
(context, request)[source]¶ Generic Occurrence traverser.
Please note: the .at and .dx subpackages implement their own Occurrence traversers.
-
class
plone.app.event.recurrence.
RecurrenceSupport
(context)[source]¶ IRecurrenceSupport Adapter.
-
occurrences
(range_start=None, range_end=None)[source]¶ Return all occurrences of an event, possibly within a start and end limit.
- Parameters
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.
- Returns
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: really?
TODO: test with event start = 21st feb, event end = start+36h, recurring for 10 days, range_start = 1st mar, range_end = last Mark
-