Contents

updateTimeZone(_:completionHandler:)

Updates the trigger’s time zone.

Declaration

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

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

Deprecated symbols