ComponentDateTime.take


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.34" ) ]
public ComponentDateTime.take (owned Time value, owned string? tzid)

Creates a new ComponentDateTime instance, which holds the value and tzid.

It is similar to ComponentDateTime, except this function assumes ownership of the value and tzid. The returned structure should be freed with e_cal_component_datetime_free, when no longer needed.

Parameters:

value

an Time as a value

tzid

timezone ID for the value, or null

Returns:

a new ComponentDateTime




2022 vala-language.org