ICU4X
International Components for Unicode
|
#include <ICU4XTimeZoneIdMapperWithFastCanonicalization.hpp>
Public Member Functions | |
template<typename W> | |
diplomat::result< std::monostate, ICU4XError > | canonicalize_iana_to_writeable (const std::string_view value, W &write) const |
diplomat::result< std::string, ICU4XError > | canonicalize_iana (const std::string_view value) const |
template<typename W> | |
diplomat::result< std::monostate, ICU4XError > | canonical_iana_from_bcp47_to_writeable (const std::string_view value, W &write) const |
diplomat::result< std::string, ICU4XError > | canonical_iana_from_bcp47 (const std::string_view value) const |
ICU4XTimeZoneIdMapperWithFastCanonicalization (capi::ICU4XTimeZoneIdMapperWithFastCanonicalization *i) | |
ICU4XTimeZoneIdMapperWithFastCanonicalization ()=default | |
ICU4XTimeZoneIdMapperWithFastCanonicalization (ICU4XTimeZoneIdMapperWithFastCanonicalization &&) noexcept=default | |
ICU4XTimeZoneIdMapperWithFastCanonicalization & | operator= (ICU4XTimeZoneIdMapperWithFastCanonicalization &&other) noexcept=default |
Static Public Member Functions | |
static diplomat::result< ICU4XTimeZoneIdMapperWithFastCanonicalization, ICU4XError > | create (const ICU4XDataProvider &provider) |
A mapper between IANA time zone identifiers and BCP-47 time zone identifiers.
This mapper supports two-way mapping, but it is optimized for the case of IANA to BCP-47. It also supports normalizing and canonicalizing the IANA strings.
See the Rust documentation for TimeZoneIdMapperWithFastCanonicalization
for more information.
|
inlineexplicit |
|
default |
|
defaultnoexcept |
|
inline |
See the Rust documentation for canonical_iana_from_bcp47
for more information.
|
inline |
See the Rust documentation for canonical_iana_from_bcp47
for more information.
|
inline |
See the Rust documentation for canonicalize_iana
for more information.
|
inline |
See the Rust documentation for canonicalize_iana
for more information.
|
inlinestatic |
See the Rust documentation for new
for more information.
|
defaultnoexcept |