TimeZone class final
See the Rust documentation for TimeZone
for more information.
- Implemented types
Constructors
- TimeZone.fromBcp47(String id)
-
Creates a time zone from a BCP-47 string.
factory
- TimeZone.unknown()
-
The unknown time zone.
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
-
isUnknown(
) → bool - Whether the time zone is the unknown zone.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withOffset(
UtcOffset offset) → TimeZoneInfo -
See the Rust documentation for
with_offset
for more information. -
withoutOffset(
) → TimeZoneInfo -
See the Rust documentation for
without_offset
for more information.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited