plone.app.event.dx.behaviors

Behaviors to enable calendarish event extension to dexterity content types.

class plone.app.event.dx.behaviors.EventAccessor(context)[source]

Generic event accessor adapter implementation for Dexterity content objects.

property timezone

Returns the timezone name for the event. If the start timezone differs from the end timezone, it returns a tuple with (START_TIMEZONENAME, END_TIMEZONENAME).

exception plone.app.event.dx.behaviors.StartBeforeEnd[source]

error_invalid_date

plone.app.event.dx.behaviors.default_end(context)[source]

Provide default end for the form.

plone.app.event.dx.behaviors.default_start(context)[source]

Provide default start for the form.