TimeZoneIdMapper class final
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.
- Implemented types
Constructors
- TimeZoneIdMapper(DataProvider provider)
-
See the Rust documentation for
new
for more information.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canonicalizeIana(
String value) → String? -
See the Rust documentation for
canonicalize_iana
for more information. -
findCanonicalIanaFromBcp47(
String value) → String? -
See the Rust documentation for
find_canonical_iana_from_bcp47
for more information. -
ianaToBcp47(
String value) → String -
See the Rust documentation for
iana_to_bcp47
for more information. -
normalizeIana(
String value) → String? -
See the Rust documentation for
normalize_iana
for more information. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited