ComponentPeriod
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "e_cal_component_period_get_type ()" ) ]
[ Compact ]
public class ComponentPeriod
Period of time, can have explicit start/end times or start/duration instead.
Use the functions below to work with it.
Content:
Creation methods:
Methods:
- public ComponentPeriod copy ()
- public unowned Duration get_duration ()
Returns the duration of the this.
- public unowned Time? get_end ()
Returns the end of the this.
- public ComponentPeriodKind get_kind ()
- public unowned Time get_start ()
Returns the start of the this.
- public void set_datetime_full (Time start, Time? end)
Set the kind of this to be
e_cal_component_period_datetime and fills the content with start
and end
.
- public void set_duration (Duration duration)
Set the duration of the this.
- public void set_duration_full (Time start, Duration duration)
Set the kind of this to be
e_cal_component_period_duration and fills the content with start
and duration
.
- public void set_end (Time? end)
Set the end of the this.
- public void set_start (Time start)
Set the start
of the this
.