util_tm_to_icaltime


Description:


[ Version ( since = "2.22" ) ]
public Time util_tm_to_icaltime (tm tm, bool is_date)

Converts a struct tm into an Time.

Free the returned object with unref, when no longer needed.

Parameters:

tm

A struct tm.

is_date

Whether the given time is a date only or not.

Returns:

The converted time as an Time.


Namespace: ECal
Package: libecal-2.0



2022 vala-language.org