|
template<typename W> |
diplomat::result< std::monostate, ICU4XError > | iana_to_bcp47_to_writeable (const std::string_view value, W &write) const |
|
diplomat::result< std::string, ICU4XError > | iana_to_bcp47 (const std::string_view value) const |
|
template<typename W> |
diplomat::result< std::monostate, ICU4XError > | normalize_iana_to_writeable (const std::string_view value, W &write) const |
|
diplomat::result< std::string, ICU4XError > | normalize_iana (const std::string_view value) const |
|
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 > | find_canonical_iana_from_bcp47_to_writeable (const std::string_view value, W &write) const |
|
diplomat::result< std::string, ICU4XError > | find_canonical_iana_from_bcp47 (const std::string_view value) const |
|
| ICU4XTimeZoneIdMapper (capi::ICU4XTimeZoneIdMapper *i) |
|
| ICU4XTimeZoneIdMapper ()=default |
|
| ICU4XTimeZoneIdMapper (ICU4XTimeZoneIdMapper &&) noexcept=default |
|
ICU4XTimeZoneIdMapper & | operator= (ICU4XTimeZoneIdMapper &&other) noexcept=default |
|
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 TimeZoneIdMapper
for more information.