|
ICU4X
International Components for Unicode
|
#include <ICU4XZonedDateTimeFormatter.hpp>
Static Public Member Functions | |
| static diplomat::result< ICU4XZonedDateTimeFormatter, ICU4XError > | create_with_lengths (const ICU4XDataProvider &provider, const ICU4XLocale &locale, ICU4XDateLength date_length, ICU4XTimeLength time_length) |
| static diplomat::result< ICU4XZonedDateTimeFormatter, 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 ZonedDateTimeFormatter for more information.
|
inlineexplicit |
|
default |
|
defaultnoexcept |
|
inlinestatic |
Creates a new [ICU4XZonedDateTimeFormatter] 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 [ICU4XZonedDateTimeFormatter] 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 [ICU4XDateTime] and [ICU4XCustomTimeZone] to a string.
See the Rust documentation for format for more information.
|
inline |
Formats a [ICU4XDateTime] 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.
|
inline |
Formats a [ICU4XIsoDateTime] and [ICU4XCustomTimeZone] to a string.
See the Rust documentation for format for more information.
|
defaultnoexcept |