DateRange class

A date range with a start and end, inclusive. null values for either means the range is unbounded in that direction.

Implementers

Constructors

DateRange(Date? start, Date? end)
DateRange.intersectionOf(DateRange a, DateRange b)
Returns the intersection of DateRanges a and b.
factory

Properties

end Date?
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start Date?
final

Methods

asPlainRange() DateRange
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 o) bool
The equality operator.
override