![]() |
ICU4X
International Components for Unicode
|
#include <IanaParser.d.hpp>
Public Member Functions | |
std::unique_ptr< icu4x::TimeZone > | parse (std::string_view value) const |
std::unique_ptr< icu4x::TimeZoneIterator > | iter () const |
Static Public Member Functions | |
static std::unique_ptr< icu4x::IanaParser > | create () |
static diplomat::result< std::unique_ptr< icu4x::IanaParser >, icu4x::DataError > | create_with_provider (const icu4x::DataProvider &provider) |
static void | operator delete (void *ptr) |
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 IanaParser
for more information.
|
inlinestatic |
Create a new IanaParser
using compiled data
See the Rust documentation for new
for more information.
|
inlinestatic |
Create a new IanaParser
using a particular data source
See the Rust documentation for new
for more information.
|
inline |
See the Rust documentation for iter
for more information.
|
inlinestatic |
|
inline |
See the Rust documentation for parse
for more information.