TimezoneResult class Timezone

Result container for timezone lookup operations.

Holds detailed timezone information returned by TimezoneService lookups. Do not construct this class directly; obtain instances using the TimezoneService methods which return or populate a TimezoneResult.

Important: the localTime value is returned as a UTC DateTime (that is, isUtc == true) but represents the local time in the requested timezone due to limitations of the Dart DateTime API.

Properties

dstOffset → Duration
Daylight Saving Time (DST) offset for the resolved timezone.
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasRegisteredAutoReleaseObject ↔ bool
getter/setter pairinherited
localTime → DateTime
Get the local time.
no setter
offset → Duration
Get the offset including DST.
no setter
pointerId → int
The pointer ID of the native object
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → TimeZoneStatus
Get the status of the response.
no setter
timezoneId → String
Get the ID of the timezone.
no setter
utcOffset → Duration
Get the UTC offset without DST.
no setter

Methods

dispose() → void
Disposes the native object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited