ICU4X
International Components for Unicode
|
#include <ICU4XTimeZoneFormatter.hpp>
Static Public Member Functions | |
static diplomat::result< ICU4XTimeZoneFormatter, ICU4XError > | create_with_localized_gmt_fallback (const ICU4XDataProvider &provider, const ICU4XLocale &locale) |
static diplomat::result< ICU4XTimeZoneFormatter, ICU4XError > | create_with_iso_8601_fallback (const ICU4XDataProvider &provider, const ICU4XLocale &locale, ICU4XIsoTimeZoneOptions options) |
An ICU4X TimeZoneFormatter object capable of formatting an [ICU4XCustomTimeZone
] type (and others) as a string
See the Rust documentation for TimeZoneFormatter
for more information.
|
inlineexplicit |
|
default |
|
defaultnoexcept |
|
inlinestatic |
Creates a new [ICU4XTimeZoneFormatter
] from locale data.
Uses ISO-8601 as the fallback format.
See the Rust documentation for try_new
for more information.
Additional information: 1
|
inlinestatic |
Creates a new [ICU4XTimeZoneFormatter
] from locale data.
Uses localized GMT as the fallback format.
See the Rust documentation for try_new
for more information.
Additional information: 1
|
inline |
Formats a [ICU4XCustomTimeZone
] to a string.
See the Rust documentation for format
for more information.
See the Rust documentation for format_to_string
for more information.
|
inline |
Formats a [ICU4XCustomTimeZone
] to a string, performing no fallback
See the Rust documentation for write_no_fallback
for more information.
|
inline |
Formats a [ICU4XCustomTimeZone
] to a string, performing no fallback
See the Rust documentation for write_no_fallback
for more information.
|
inline |
Formats a [ICU4XCustomTimeZone
] to a string.
See the Rust documentation for format
for more information.
See the Rust documentation for format_to_string
for more information.
|
inline |
Loads localized GMT format. Example: "GMT-07:00"
See the Rust documentation for include_localized_gmt_format
for more information.
|
inline |
Loads generic location format. Example: "Los Angeles Time"
See the Rust documentation for include_generic_location_format
for more information.
|
inline |
Loads generic non-location long format. Example: "Pacific Time"
See the Rust documentation for include_generic_non_location_long
for more information.
|
inline |
Loads generic non-location short format. Example: "PT"
See the Rust documentation for include_generic_non_location_short
for more information.
|
inline |
Loads ISO-8601 format. Example: "-07:00"
See the Rust documentation for include_iso_8601_format
for more information.
|
inline |
Loads specific non-location long format. Example: "Pacific Standard Time"
See the Rust documentation for include_specific_non_location_long
for more information.
|
inline |
Loads specific non-location short format. Example: "PST"
See the Rust documentation for include_specific_non_location_short
for more information.
|
defaultnoexcept |