TimeInterval class

Mixed-in types

Constructors

TimeInterval({required Time start, required Time end})
TimeInterval.fromJSON(dynamic json)
factory

Properties

end Time
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 Time
final

Methods

contains(Time wrapper) bool
override
copyWith({Time? newStart, Time? newEnd}) TimeInterval
cross(IntervalWrapper<TimeWrapper> wrapper) bool
override
difference() Duration
override
format() String
override
isValid() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toTimeStampInterval(Date date) TimeStampInterval

Operators

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