menu
nat_l10n package
documentation
nat_l10n.dart
TimeZoneInfo class
TimeZoneInfo class
dark_mode
light_mode
TimeZoneInfo
class
Constructors
TimeZoneInfo
(
String
id
, {
String
?
translation
,
int
?
offset
})
const
TimeZoneInfo.fromJson
(
Map
<
String
,
dynamic
>
json
)
factory
Properties
hashCode
→
int
The hash code for this object.
no setter
override
id
→
String
The time zone ID, e.g. 'America/Los_Angeles'.
final
offset
→
int
?
The offset of this time zone from GMT+00:00 in seconds. If
TimeZoneStyle.shortWithDst
or
TimeZoneStyle.longWithDst
is specified, the offset also includes the duration of the day saving time, but only if the time zone observes DST.
final
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
translation
→
String
?
Localized version of the time zone, according to specified locale and
TimeZoneStyle
when calling 'localizedTimeZones'.
final
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson
(
)
→
Map
<
String
,
dynamic
>
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
override
nat_l10n package
documentation
nat_l10n
TimeZoneInfo class
nat_l10n library