TimelineSlot class final

One step of a timeline's scale: a wall-clock slot (time unit) or a day (day unit).

Constructors

TimelineSlot({required Instant start, required Instant end, required PlainDate date, required PlainTime? time, required WallPass? pass, required String offset})
const

Properties

date → PlainDate
The date it belongs to, in the calendar's zone.
final
end → Instant
final
hashCode → int
The hash code for this object.
no setterinherited
offset → String
The zone's offset at its start (+01:00): what tells the two 02:00s apart.
final
pass → WallPass?
Null when the wall time happens once.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → Instant
final
time → PlainTime?
Its wall time (time unit); null for a day slot.
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