ECal.ComponentRange¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
Details¶
- class ECal.ComponentRange¶
Describes a range. Use the functions below to work with it.
- classmethod new(kind, datetime)¶
- Parameters:
kind (
ECal.ComponentRangeKind) – anECal.ComponentRangeKinddatetime (
ECal.ComponentDateTime) – anECal.ComponentDateTime
- Returns:
a newly allocated
ECal.ComponentRange- Return type:
Creates a new
ECal.ComponentRangedescribing a range. The returned structure should be freed with e_cal_component_range_free(), when no longer needed.New in version 3.34.
- copy()¶
- Returns:
a newly allocated
ECal.ComponentRange, copy of self. The returned structure should be freed with e_cal_component_range_free(), when no longer needed.- Return type:
New in version 3.34.
- get_datetime()¶
- Returns:
the date/time of the self, as an
ECal.ComponentDateTime- Return type:
Returns the date/time of the self. The returned
ECal.ComponentDateTimeis owned by self and should not be freed. It’s valid until the self is freed or its date/time changed.New in version 3.34.
- get_kind()¶
- Returns:
the
ECal.ComponentRangeKindof the self- Return type:
New in version 3.34.
- set_datetime(datetime)¶
- Parameters:
datetime (
ECal.ComponentDateTime) – anECal.ComponentDateTime
Set the date/time
Camel.partof the self.New in version 3.34.
- set_kind(kind)¶
- Parameters:
kind (
ECal.ComponentRangeKind) – anECal.ComponentRangeKind
Set the kind of the self.
New in version 3.34.