ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
icu4x::WindowsParser Class Reference

#include <WindowsParser.d.hpp>

Public Member Functions

std::unique_ptr< icu4x::TimeZoneparse (std::string_view value, std::string_view region) const
 

Static Public Member Functions

static std::unique_ptr< icu4x::WindowsParsercreate ()
 
static diplomat::result< std::unique_ptr< icu4x::WindowsParser >, icu4x::DataErrorcreate_with_provider (const icu4x::DataProvider &provider)
 
static void operator delete (void *ptr)
 

Detailed Description

A mapper between Windows time zone identifiers and BCP-47 time zone identifiers.

This mapper supports two-way mapping, but it is optimized for the case of Windows to BCP-47. It also supports normalizing and canonicalizing the Windows strings.

See the Rust documentation for WindowsParser for more information.

Member Function Documentation

◆ create()

std::unique_ptr< icu4x::WindowsParser > icu4x::WindowsParser::create ( )
inlinestatic

Create a new WindowsParser using compiled data

See the Rust documentation for new for more information.

◆ create_with_provider()

diplomat::result< std::unique_ptr< icu4x::WindowsParser >, icu4x::DataError > icu4x::WindowsParser::create_with_provider ( const icu4x::DataProvider & provider)
inlinestatic

Create a new WindowsParser using a particular data source

See the Rust documentation for new for more information.

◆ operator delete()

void icu4x::WindowsParser::operator delete ( void * ptr)
inlinestatic

◆ parse()

std::unique_ptr< icu4x::TimeZone > icu4x::WindowsParser::parse ( std::string_view value,
std::string_view region ) const
inline

See the Rust documentation for parse for more information.


The documentation for this class was generated from the following files: