TimezoneResult class Core
Result which contains all information about a timezone
This class should not be instantiated directly. Instead, use the related methods from TimezoneService to obtain an instance.
Constructors
- TimezoneResult.init(int pointerId)
Properties
- dstOffset → Duration
-
The offset daylight saving time (DST) offset.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- localTime → DateTime
-
Get the local time
no setter
- offset → Duration
-
Get the offset including DST
no setter
- pointerId → int
-
final
- 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 -
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
Static Methods
-
create(
) → TimezoneResult