TimeZoneInfo class
Constructors
- TimeZoneInfo({String? tag, int? rawOffset, int? rawDstOffset})
- TimeZoneInfo.fromOffset({String? tag, required int offset, required bool inDST})
Properties
- desc → String
-
no setter
- dstOffset → Duration
-
no setter
- gmtOffset → Duration
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- inDST → bool
-
no setter
- offset → Duration
-
no setter
- rawDstOffset → int?
-
夏令时产生的的时区偏差,单位为秒
final
- rawOffset → int?
-
标准的时区偏差,单位为秒,中国为+8小时
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String?
-
时区名称
final
- timeZone → String
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override