TimeZoneInfo class final
See the Rust documentation for TimeZoneInfo
for more information.
- Implemented types
Constructors
- TimeZoneInfo.new(TimeZone id, {UtcOffset? offset, TimeZoneVariant? variant})
-
Creates a time zone info from parts.
factory
- TimeZoneInfo.utc()
-
Creates a time zone for UTC (Coordinated Universal Time).
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
-
atDateTimeIso(
IsoDate date, Time time) → TimeZoneInfo - Sets the datetime at which to interpret the time zone for display name lookup.
-
id(
) → TimeZone -
See the Rust documentation for
id
for more information. -
inferVariant(
VariantOffsetsCalculator offsetCalculator) → bool - Infers the zone variant.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
variant(
) → TimeZoneVariant? -
See the Rust documentation for
variant
for more information. -
withVariant(
TimeZoneVariant timeVariant) → TimeZoneInfo -
See the Rust documentation for
with_variant
for more information. -
zoneNameDateTime(
) → IsoDateTime? -
See the Rust documentation for
zone_name_timestamp
for more information.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited