ICU4X
International Components for Unicode
|
#include <TimeZoneInfo.d.hpp>
Public Member Functions | |
std::unique_ptr< icu4x::TimeZone > | id () const |
std::unique_ptr< icu4x::TimeZoneInfo > | at_date_time_iso (const icu4x::IsoDate &date, const icu4x::Time &time) const |
std::optional< icu4x::IsoDateTime > | zone_name_date_time () const |
std::unique_ptr< icu4x::TimeZoneInfo > | with_variant (icu4x::TimeZoneVariant time_variant) const |
std::optional< std::monostate > | infer_variant (const icu4x::VariantOffsetsCalculator &offset_calculator) |
std::optional< icu4x::TimeZoneVariant > | variant () const |
Static Public Member Functions | |
static std::unique_ptr< icu4x::TimeZoneInfo > | utc () |
static std::unique_ptr< icu4x::TimeZoneInfo > | from_parts (const icu4x::TimeZone &id, const icu4x::UtcOffset *offset, std::optional< icu4x::TimeZoneVariant > variant) |
static void | operator delete (void *ptr) |
See the Rust documentation for TimeZoneInfo
for more information.
|
inline |
Sets the datetime at which to interpret the time zone for display name lookup.
Notes:
ZoneNameTimestamp
in Rust.See the Rust documentation for at_date_time_iso
for more information.
Additional information: 1
|
inlinestatic |
Creates a time zone info from parts.
|
inline |
See the Rust documentation for id
for more information.
|
inline |
Infers the zone variant.
Requires the offset and local time to be set.
See the Rust documentation for infer_variant
for more information.
Additional information: 1
|
inlinestatic |
|
inlinestatic |
Creates a time zone for UTC (Coordinated Universal Time).
See the Rust documentation for utc
for more information.
|
inline |
See the Rust documentation for variant
for more information.
|
inline |
See the Rust documentation for with_variant
for more information.
|
inline |
See the Rust documentation for zone_name_timestamp
for more information.