ICU4X
International Components for Unicode
|
#include <TimeZone.d.hpp>
Public Member Functions | |
bool | is_unknown () const |
std::unique_ptr< icu4x::TimeZoneInfo > | with_offset (const icu4x::UtcOffset &offset) const |
std::unique_ptr< icu4x::TimeZoneInfo > | without_offset () const |
Static Public Member Functions | |
static std::unique_ptr< icu4x::TimeZone > | unknown () |
static std::unique_ptr< icu4x::TimeZone > | create_from_bcp47 (std::string_view id) |
static void | operator delete (void *ptr) |
See the Rust documentation for TimeZone
for more information.
|
inlinestatic |
Creates a time zone from a BCP-47 string.
Returns the unknown time zone if the string is not a valid BCP-47 subtag.
Additional information: 1
|
inline |
Whether the time zone is the unknown zone.
See the Rust documentation for is_unknown
for more information.
|
inlinestatic |
|
inlinestatic |
The unknown time zone.
See the Rust documentation for unknown
for more information.
|
inline |
See the Rust documentation for with_offset
for more information.
|
inline |
See the Rust documentation for without_offset
for more information.