TimezoneSpan class abstract

A TimezoneSpan contains information about a timezone between two points in time.

In most cases, TimezoneSpans represent the "summer" and "winter" times of a timezone with Daylight Saving Time.

Constructors

TimezoneSpan(String abbreviation, EpochMicroseconds start, EpochMicroseconds end, {required bool dst})
Creates a TimezoneSpan.
const

Properties

abbreviation String
The abbreviation, i.e. EST.
final
dst bool
Whether this span is currently daylight savings time.
final
end EpochMicroseconds
This span's ending time in microseconds since Unix epoch.
final
hashCode int
The hash code for this object.
no setterinherited
offset Offset
The offset.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start EpochMicroseconds
This span's starting time in microseconds since Unix epoch.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

range Interval<int>
The valid range of the start and end microseconds, inclusive.
final