TimeZoneResponse class abstract
TimeZoneResponse
Properties:
- status
- dstOffset - The offset for daylight-savings time in seconds. This will be zero if the time zone is not in Daylight Savings Time during the specified
timestamp
. - rawOffset - The offset from UTC (in seconds) for the given location. This does not take into effect daylight savings.
- timeZoneId - a string containing the ID of the time zone, such as "America/Los_Angeles" or "Australia/Sydney". These IDs are defined by Unicode Common Locale Data Repository (CLDR) project, and currently available in file timezone.xml. When a timezone has several IDs, the canonical one is returned. In xml responses, this is the first alias of each timezone. For example, "Asia/Calcutta" is returned, not "Asia/Kolkata".
- timeZoneName - The long form name of the time zone. This field will be localized if the language parameter is set. eg.
Pacific Daylight Time
orAustralian Eastern Daylight Time
. - errorMessage - Detailed information about the reasons behind the given status code. Included if status other than
Ok
.
Constructors
- TimeZoneResponse([void updates(TimeZoneResponseBuilder b)])
-
factory
Properties
- dstOffset → num?
-
The offset for daylight-savings time in seconds. This will be zero if the time zone is not in Daylight Savings Time during the specified
timestamp
.no setter - errorMessage → String?
-
Detailed information about the reasons behind the given status code. Included if status other than
Ok
.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- rawOffset → num?
-
The offset from UTC (in seconds) for the given location. This does not take into effect daylight savings.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → TimeZoneStatus
-
no setter
- timeZoneId → String?
-
a string containing the ID of the time zone, such as "America/Los_Angeles" or "Australia/Sydney". These IDs are defined by Unicode Common Locale Data Repository (CLDR) project, and currently available in file timezone.xml. When a timezone has several IDs, the canonical one is returned. In xml responses, this is the first alias of each timezone. For example, "Asia/Calcutta" is returned, not "Asia/Kolkata".
no setter
- timeZoneName → String?
-
The long form name of the time zone. This field will be localized if the language parameter is set. eg.
Pacific Daylight Time
orAustralian Eastern Daylight Time
.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(TimeZoneResponseBuilder)) → TimeZoneResponse -
Rebuilds the instance.
inherited
-
toBuilder(
) → TimeZoneResponseBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
TimeZoneResponse> -
no setter