ICU4X
International Components for Unicode
|
#include <ZonedIsoDateTime.d.hpp>
Static Public Member Functions | |
static diplomat::result< icu4x::ZonedIsoDateTime, icu4x::Rfc9557ParseError > | full_from_string (std::string_view v, const icu4x::IanaParser &iana_parser, const icu4x::VariantOffsetsCalculator &offset_calculator) |
static icu4x::ZonedIsoDateTime | from_epoch_milliseconds_and_utc_offset (int64_t epoch_milliseconds, const icu4x::UtcOffset &utc_offset) |
Public Attributes | |
std::unique_ptr< icu4x::IsoDate > | date |
std::unique_ptr< icu4x::Time > | time |
std::unique_ptr< icu4x::TimeZoneInfo > | zone |
An ICU4X ZonedDateTime object capable of containing a ISO-8601 date, time, and zone.
See the Rust documentation for ZonedDateTime
for more information.
|
inlinestatic |
Creates a new ZonedIsoDateTime
from milliseconds since epoch (timestamp) and a UTC offset.
Note: ZonedIsoDateTime
s created with this constructor can only be formatted using localized offset zone styles.
See the Rust documentation for from_epoch_milliseconds_and_utc_offset
for more information.
|
inlinestatic |
Creates a new ZonedIsoDateTime
from an IXDTF string.
See the Rust documentation for try_full_from_str
for more information.
std::unique_ptr<icu4x::IsoDate> icu4x::ZonedIsoDateTime::date |
std::unique_ptr<icu4x::Time> icu4x::ZonedIsoDateTime::time |
std::unique_ptr<icu4x::TimeZoneInfo> icu4x::ZonedIsoDateTime::zone |