class TimeZones
Defined at line 3009 of file fidling/gen/sdk/fidl/fuchsia.intl/fuchsia.intl/hlcpp/fuchsia/intl/cpp/fidl.h
Provides information about time zones and offers date-time conversion methods.
TODO(https://fxbug.dev/42162409): Add time zone info methods, including offsets from UTC.
Public Members
static const char[] Name_
Public Methods
void ~TimeZones ()
void AbsoluteToCivilTime (::fuchsia::intl::TimeZoneIdtime_zone_id,int64_tabsolute_time,AbsoluteToCivilTimeCallbackcallback)
Converts the given absolute time to a civil date and time in the given time zone, using the
Gregorian calendar.
void CivilToAbsoluteTime (::fuchsia::intl::CivilTimecivil_time,::fuchsia::intl::CivilToAbsoluteTimeOptionsoptions,CivilToAbsoluteTimeCallbackcallback)
Converts the given civil date and time in the given time zone to nanoseconds since the Unix
epoch.
void GetTimeZoneInfo (::fuchsia::intl::TimeZoneIdtime_zone_id,int64_tat_time,GetTimeZoneInfoCallbackcallback)
Retrieves details about a time zone at a specified one.