ComponentDateTime
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , lower_case_csuffix = "component_datetime" , type_id = "e_cal_component_datetime_get_type ()" ) ]
[ Compact ]
public class ComponentDateTime
An opaque structure containing an Time describing the date/time value and also its TZID parameter.
Use the functions below to work with it.
Content:
Creation methods:
- public ComponentDateTime (Time value, string? tzid)
Creates a new ComponentDateTime instance,
which holds the value
and tzid
.
- public ComponentDateTime.take (owned Time value, owned string? tzid)
Creates a new ComponentDateTime instance,
which holds the value
and tzid
.
Methods:
- public void @set (Time value, string? tzid)
Sets both value
and tzid
in one call.
- public ComponentDateTime copy ()
Creates a new copy of this.
- public unowned string? get_tzid ()
Returns the TZID stored with the this
.
- public unowned Time get_value ()
Returns the value stored with the this
.
- public void set_tzid (string? tzid)
Sets the tzid
of the this
.
- public void set_value (Time value)
Sets the value
of the this
.
- public void take_tzid (owned string? tzid)
Sets the tzid
of the this
and assumes ownership of tzid
.
- public void take_value (owned Time value)
Sets the value
of the this
and assumes ownership of the value
.