tzlookup_cb


Description:

[ Version ( since = "3.34" ) ]
public static unowned Timezone? tzlookup_cb (string tzid, Client ecalclient, Cancellable? cancellable = null) throws Error

An implementation of the RecurResolveTimezoneCb callback which clients can use.

Calls get_timezone_sync.

The returned timezone object, if not null, is owned by the ecalclient.

Parameters:

tzid

ID of the timezone to lookup

ecalclient

a valid Client pointer

cancellable

an optional Cancellable to use, or null

Returns:

A timezone object, or null on failure or when not found.