| Top |
ECalComponentRange * e_cal_component_range_new (ECalComponentRangeKind kind,const ECalComponentDateTime *datetime);
Creates a new ECalComponentRange describing a range.
The returned structure should be freed with e_cal_component_range_free(),
when no longer needed.
Since: 3.34
ECalComponentRange * e_cal_component_range_new_take (ECalComponentRangeKind kind,ECalComponentDateTime *datetime);
Creates a new ECalComponentRange describing a range, similar to
e_cal_component_range_new() except is assumes ownership of datetime
.
The returned structure should be freed with e_cal_component_range_free(),
when no longer needed.
[skip]
Since: 3.34
ECalComponentRange *
e_cal_component_range_copy (const ECalComponentRange *range);
a newly allocated ECalComponentRange, copy of range
.
The returned structure should be freed with e_cal_component_range_free(),
when no longer needed.
[transfer full]
Since: 3.34
void
e_cal_component_range_free (gpointer range);
Free the range
, previously allocated by e_cal_component_range_new(),
e_cal_component_range_new_take() or e_cal_component_range_copy().
[skip]
Since: 3.34
ECalComponentRangeKind
e_cal_component_range_get_kind (const ECalComponentRange *range);
Since: 3.34
void e_cal_component_range_set_kind (ECalComponentRange *range,ECalComponentRangeKind kind);
Set the kind
of the range
.
Since: 3.34
ECalComponentDateTime *
e_cal_component_range_get_datetime (const ECalComponentRange *range);
Returns the date/time of the range
. The returned ECalComponentDateTime
is owned by range
and should not be freed. It's valid until the range
is freed or its date/time changed.
Since: 3.34
void e_cal_component_range_set_datetime (ECalComponentRange *range,const ECalComponentDateTime *datetime);
Set the date/time part of the range
.
Since: 3.34
void e_cal_component_range_take_datetime (ECalComponentRange *range,ECalComponentDateTime *datetime);
Set the date/time part of the range
, similar to e_cal_component_range_set_datetime(),
except it assumes ownership of the datetime
.
[skip]
Since: 3.34