Function

ECalutil_guess_timezone

unstable since: 3.58

Declaration [src]

ICalTimezone*
e_cal_util_guess_timezone (
  const gchar* tzid
)

Description [src]

Tries to match the tzid with a built-in iCal timezone.

Whenever possible, the timezone should be taken from the timezone cache or the VCALENDAR component the owner component belongs to, this should be used just as the last resort when such time zone could not be found.

Available since: 3.58

Parameters

tzid

Type: const gchar*

A time zone ID.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: None

Matching built-in ICalTimezone for the tzid, or NULL, when could not be found.

The data is owned by the called function.
The return value can be NULL.