DateInterval class

Mixed-in types

Constructors

DateInterval({required Date start, required Date end})
DateInterval.fromJson(dynamic json)
factory

Properties

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

Methods

contains(Date wrapper) bool
override
copyWith({Date? newStart, Date? newEnd}) DateInterval
cross(IntervalWrapper<TimeWrapper> wrapper) bool
override
difference() Duration
override
format() String
override
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
operator [](int index) Date