Instance Method

updateTimeZone(_:completionHandler:)

Updates the trigger’s time zone.

Declaration

func updateTimeZone(_ timeZone: TimeZone?, completionHandler completion: @escaping (Error?) -> Void)

Parameters

timeZone

The new time zone; may be nil.

completion

The block executed after the request is processed.

error

nil on success; otherwise, error object indicating the reason for failure.

Discussion

See timeZone for a description of how the time zone is interpreted.

See Also

Indicating a Time Zone

var timeZone: TimeZone?

The timezone in which to evaluate the fire time.