[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.34" ) ]
public ComponentPeriod.duration (Time start, Duration duration)
Creates a new ComponentPeriod of kind e_cal_component_period_duration.
The returned structure should be freed with e_cal_component_period_free
, when no longer needed.
start |
an Time, the start of the period |
duration |
an Duration, the duration of the period |
a newly allocated ComponentPeriod |