PROTOCOLS
Timezone
Defined in fuchsia.deprecatedtimezone/deprecated_time_zone.fidl
GetTimezoneId
Gets the timezone ID string.
Request
Response
Name | Type |
timezone_id |
string
|
GetTimezoneOffsetMinutes
Returns local timezone offset (in minutes from UTC. Can be negative) for
the supplied number of milliseconds since the Unix epoch. Returns a
non-zero DST offset when appropriate.
Request
Name | Type |
milliseconds_since_epoch |
int64
|
Response
Name | Type |
local_offset_minutes |
int32
|
dst_offset_minutes |
int32
|
SetTimezone
Sets the timezone for the machine based on an ICU ID.
Request
Name | Type |
timezone_id |
string
|
Response
Watch
Watches for updates to the timezone ID.
Request
TimezoneWatcher
Defined in fuchsia.deprecatedtimezone/deprecated_time_zone.fidl
OnTimezoneOffsetChange
When the timezone changes, returns the new timezone ID.
Request
Name | Type |
timezone_id |
string
|
STRUCTS