Package flumotion :: Package common :: Module eventcalendar :: Class Event
[hide private]

Class Event

source code

extern.log.log.Loggable --+
                          |
                         Event

I represent a EVENT entry in a calendar for our purposes. I can have recurrence. I can be scheduled between a start time and an end time, returning a list of start and end points. I can have exception dates.

Instance Methods [hide private]
 
__init__(self, uid, start, end, content, rrule=None, recurrenceid=None, exdates=None, now=None) source code
 
__addTimeZone(self, dateTime, now) source code
 
__repr__(self) source code
 
toTuple(self) source code
 
__lt__(self, other) source code
 
__gt__(self, other) source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code

Inherited from extern.log.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]

Inherited from extern.log.log.Loggable: __implemented__, __provides__, logCategory

Method Details [hide private]

__init__(self, uid, start, end, content, rrule=None, recurrenceid=None, exdates=None, now=None)
(Constructor)

source code 
Parameters:
  • uid (str) - identifier of the event.
  • start (datetime.datetime) - start time of the event.
  • end (datetime.datetime) - end time of the event.
  • content (str) - label to describe the content
  • rrule (str) - a RRULE string
  • recurrenceid (str) - a RECURRENCE-ID string. It is used on recurrence events.
  • exdates (list of datetime.datetime or None) - list of exceptions. It is commonly used with recurrence events.