ICU4X
International Components for Unicode
|
#include <ZonedDateTime.d.hpp>
Static Public Member Functions | |
static diplomat::result< icu4x::ZonedDateTime, icu4x::Rfc9557ParseError > | full_from_string (std::string_view v, const icu4x::Calendar &calendar, const icu4x::IanaParser &iana_parser, const icu4x::VariantOffsetsCalculator &offset_calculator) |
static diplomat::result< icu4x::ZonedDateTime, icu4x::Rfc9557ParseError > | location_only_from_string (std::string_view v, const icu4x::Calendar &calendar, const icu4x::IanaParser &iana_parser) |
static diplomat::result< icu4x::ZonedDateTime, icu4x::Rfc9557ParseError > | offset_only_from_string (std::string_view v, const icu4x::Calendar &calendar) |
static diplomat::result< icu4x::ZonedDateTime, icu4x::Rfc9557ParseError > | lenient_from_string (std::string_view v, const icu4x::Calendar &calendar, const icu4x::IanaParser &iana_parser) |
Public Attributes | |
std::unique_ptr< icu4x::Date > | date |
std::unique_ptr< icu4x::Time > | time |
std::unique_ptr< icu4x::TimeZoneInfo > | zone |
An ICU4X DateTime object capable of containing a date, time, and zone for any calendar.
See the Rust documentation for ZonedDateTime
for more information.
|
inlinestatic |
Creates a new ZonedDateTime
from an IXDTF string.
See the Rust documentation for try_full_from_str
for more information.
|
inlinestatic |
Creates a new ZonedDateTime
from an IXDTF string, without requiring the offset or calculating the zone variant.
See the Rust documentation for try_lenient_from_str
for more information.
|
inlinestatic |
Creates a new ZonedDateTime
from a location-only IXDTF string.
See the Rust documentation for try_location_only_from_str
for more information.
|
inlinestatic |
Creates a new ZonedDateTime
from an offset-only IXDTF string.
See the Rust documentation for try_offset_only_from_str
for more information.
std::unique_ptr<icu4x::Date> icu4x::ZonedDateTime::date |
std::unique_ptr<icu4x::Time> icu4x::ZonedDateTime::time |
std::unique_ptr<icu4x::TimeZoneInfo> icu4x::ZonedDateTime::zone |