ICU4X
International Components for Unicode
|
#include <ICU4XGregorianZonedDateTimeFormatter.hpp>
Public Member Functions | |
template<typename W> | |
diplomat::result< std::monostate, ICU4XError > | format_iso_datetime_with_custom_time_zone_to_writeable (const ICU4XIsoDateTime &datetime, const ICU4XCustomTimeZone &time_zone, W &write) const |
diplomat::result< std::string, ICU4XError > | format_iso_datetime_with_custom_time_zone (const ICU4XIsoDateTime &datetime, const ICU4XCustomTimeZone &time_zone) const |
ICU4XGregorianZonedDateTimeFormatter (capi::ICU4XGregorianZonedDateTimeFormatter *i) | |
ICU4XGregorianZonedDateTimeFormatter ()=default | |
ICU4XGregorianZonedDateTimeFormatter (ICU4XGregorianZonedDateTimeFormatter &&) noexcept=default | |
ICU4XGregorianZonedDateTimeFormatter & | operator= (ICU4XGregorianZonedDateTimeFormatter &&other) noexcept=default |
Static Public Member Functions | |
static diplomat::result< ICU4XGregorianZonedDateTimeFormatter, ICU4XError > | create_with_lengths (const ICU4XDataProvider &provider, const ICU4XLocale &locale, ICU4XDateLength date_length, ICU4XTimeLength time_length) |
static diplomat::result< ICU4XGregorianZonedDateTimeFormatter, ICU4XError > | create_with_lengths_and_iso_8601_time_zone_fallback (const ICU4XDataProvider &provider, const ICU4XLocale &locale, ICU4XDateLength date_length, ICU4XTimeLength time_length, ICU4XIsoTimeZoneOptions zone_options) |
An object capable of formatting a date time with time zone to a string.
See the Rust documentation for TypedZonedDateTimeFormatter
for more information.
|
inlineexplicit |
|
default |
|
defaultnoexcept |
|
inlinestatic |
Creates a new [ICU4XGregorianZonedDateTimeFormatter
] from locale data.
This function has date_length
and time_length
arguments and uses default options for the time zone.
See the Rust documentation for try_new
for more information.
|
inlinestatic |
Creates a new [ICU4XGregorianZonedDateTimeFormatter
] from locale data.
This function has date_length
and time_length
arguments and uses an ISO-8601 style fallback for the time zone with the given configurations.
See the Rust documentation for try_new
for more information.
|
inline |
Formats a [ICU4XIsoDateTime
] and [ICU4XCustomTimeZone
] to a string.
See the Rust documentation for format
for more information.
|
inline |
Formats a [ICU4XIsoDateTime
] and [ICU4XCustomTimeZone
] to a string.
See the Rust documentation for format
for more information.
|
defaultnoexcept |