DateInterval class

Interval class when executing interval code

Constructors

DateInterval({int months = 0, int days = 0, int hours = 0, int minutes = 0, int seconds = 0})
DateInterval.fromDuration({required Duration duration})
factory

Properties

days int
final
hashCode int
The hash code for this object.
no setterinherited
hours int
final
minutes int
final
months int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seconds int
final

Methods

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.
inherited