Api
ITimezoneApi
Integration guide · Reference index
Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.
availableTimezones
availableTimezones(): readonly TimezoneInfo[];Use the type signature above and the integration guide for the owning capability.
getTimezone
getTimezone(): TimezoneInfo;Use the type signature above and the integration guide for the owning capability.
setTimezone
setTimezone(
timezone: TimezoneId | CustomTimezoneId,
options?: UndoOptions,
): void;Use the type signature above and the integration guide for the owning capability.
| Parameter | Type | Required |
|---|---|---|
timezone | TimezoneId | CustomTimezoneId | Yes |
options | UndoOptions | No |
onTimezoneChanged
onTimezoneChanged(): ISubscription<(timezone: TimezoneId) => void>;Use the type signature above and the integration guide for the owning capability.