|
|
__init__(self,
time_type,
start_time,
end_time,
text,
category=None,
fuzzy=False,
locked=False,
ends_today=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
update(self,
start_time,
end_time,
text,
category=None,
fuzzy=None,
locked=None,
ends_today=None)
Change the event data. |
source code
|
|
|
|
update_period(self,
start_time,
end_time)
Change the event period. |
source code
|
|
|
|
|
|
|
update_start(self,
start_time)
Change the event data. |
source code
|
|
|
|
update_end(self,
end_time)
Change the event data. |
source code
|
|
|
|
inside_period(self,
time_period)
Wrapper for time period method. |
source code
|
|
|
|
is_period(self)
Wrapper for time period method. |
source code
|
|
|
|
mean_time(self)
Wrapper for time period method. |
source code
|
|
|
|
get_data(self,
id)
Return data with the given id or None if no data with that id exists. |
source code
|
|
|
|
|
|
|
has_data(self)
Return True if the event has associated data, or False if not. |
source code
|
|
|
|
get_label(self)
Returns a unicode label describing the event. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|