DesignDateRange class

A range of days, start to end inclusive; end is null while only the start is chosen.

Annotations

Constructors

DesignDateRange(DateTime start, [DateTime? end])
A range from start to end.

Properties

dayCount → int
How many days it spans, a daylight-saving change aside.
no setter
end → DateTime?
The last day, or null while the range is half chosen.
final
hashCode → int
The hash code for this object.
no setteroverride
isComplete → bool
Whether both ends are chosen.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → DateTime
The first day.
final

Methods

contains(DateTime day) → bool
Whether day is in it (its start alone while half chosen).
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