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

Class Point

source code

extern.log.log.Loggable --+
                          |
                         Point

I represent a start or an end point linked to an event instance of an event.

Instance Methods [hide private]
 
__init__(self, eventInstance, which, timestamp) source code
 
__repr__(self) source code
 
__cmp__(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, eventInstance, which, timestamp)
(Constructor)

source code 
Parameters:
  • eventInstance (EventInstance) - An instance of an event.
  • which (str) - 'start' or 'end'
  • timestamp (datetime) - Timestamp of this point. It will be used when comparing Points.