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 throwsParameters
- timeZone:
The new time zone; may be
nil. - completion:
The block executed after the request is processed.
- error
nilon success; otherwise, error object indicating the reason for failure.
Discussion
See timeZone for a description of how the time zone is interpreted.