VTimezone class

Inheritance

Constructors

VTimezone({required String tzid, Duration? standardOffset, Duration? daylightOffset, DateTime? standardStart, DateTime? daylightStart})

Properties

daylightOffset Duration?
getter/setter pair
daylightStart DateTime?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
standardOffset Duration?
getter/setter pair
standardStart DateTime?
getter/setter pair
tzid String
getter/setter pair

Methods

formatDateTime(DateTime dateTime) String
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() String
override
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

parse(String vtimezoneString) VTimezone
parseOffsetToDuration(String offset) Duration