ICU4X
International Components for Unicode
|
#include <ICU4XIanaToBcp47Mapper.hpp>
Public Member Functions | |
template<typename W> | |
diplomat::result< std::monostate, ICU4XError > | get_to_writeable (const std::string_view value, W &write) const |
diplomat::result< std::string, ICU4XError > | get (const std::string_view value) const |
ICU4XIanaToBcp47Mapper (capi::ICU4XIanaToBcp47Mapper *i) | |
ICU4XIanaToBcp47Mapper ()=default | |
ICU4XIanaToBcp47Mapper (ICU4XIanaToBcp47Mapper &&) noexcept=default | |
ICU4XIanaToBcp47Mapper & | operator= (ICU4XIanaToBcp47Mapper &&other) noexcept=default |
Static Public Member Functions | |
static diplomat::result< ICU4XIanaToBcp47Mapper, ICU4XError > | create (const ICU4XDataProvider &provider) |
An object capable of mapping from an IANA time zone ID to a BCP-47 ID.
This can be used via try_set_iana_time_zone_id()
on [ICU4XCustomTimeZone
].
See the Rust documentation for IanaToBcp47Mapper
for more information.
|
inlineexplicit |
|
default |
|
defaultnoexcept |
|
inlinestatic |
See the Rust documentation for new
for more information.
|
inline |
See the Rust documentation for get
for more information.
See the Rust documentation for iana_to_bcp47
for more information.
|
inline |
See the Rust documentation for get
for more information.
See the Rust documentation for iana_to_bcp47
for more information.
|
defaultnoexcept |