class TimeZoneInfo
Defined at line 1619 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
Describes a Time Zone's properties at a particular moment in time.
TODO(https://fxbug.dev/42162409): Additional fields with a breakdown of offsets and DST status.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
TimeZoneInfo & set_id (::fuchsia::intl::TimeZoneId _value)
TimeZoneInfo & set_total_offset_at_time (int64_t _value)
TimeZoneInfo & set_in_dst_at_time (bool _value)
void TimeZoneInfo ()
void TimeZoneInfo (TimeZoneInfo && other)
void ~TimeZoneInfo ()
TimeZoneInfo & operator= (TimeZoneInfo && other)
::std::unique_ptr<TimeZoneInfo> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, TimeZoneInfo * _value, size_t _offset)
zx_status_t Clone (TimeZoneInfo * _result)
const ::fuchsia::intl::TimeZoneId & id ()
The time zone's IANA ID.
Defined at line 1626 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
bool has_id ()
Defined at line 1630 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
::fuchsia::intl::TimeZoneId * mutable_id ()
The time zone's IANA ID.
Defined at line 1635 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
void clear_id ()
Defined at line 1643 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
const int64_t & total_offset_at_time ()
The total offset (including Daylight Savings, if the time zone is in Daylight Savings Time)
from UTC at the queried time (`at_time`). If the time zone is ahead of UTC, this will be a
positive value; if behind UTC, a negative value.
Defined at line 1654 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
bool has_total_offset_at_time ()
Defined at line 1658 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
int64_t * mutable_total_offset_at_time ()
The total offset (including Daylight Savings, if the time zone is in Daylight Savings Time)
from UTC at the queried time (`at_time`). If the time zone is ahead of UTC, this will be a
positive value; if behind UTC, a negative value.
Defined at line 1665 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
void clear_total_offset_at_time ()
Defined at line 1673 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
const bool & in_dst_at_time ()
Indicates whether the time zone is in Daylight Savings Time at the queried time
(`at_time`).
Defined at line 1683 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
bool has_in_dst_at_time ()
Defined at line 1687 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
bool * mutable_in_dst_at_time ()
Indicates whether the time zone is in Daylight Savings Time at the queried time
(`at_time`).
Defined at line 1693 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
void clear_in_dst_at_time ()
Defined at line 1701 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h