equals
fun equals(left: TimeInterval? = definedExternally, right: TimeInterval? = definedExternally, dataComparer: DataComparer? = definedExternally): Boolean(source)
Compares two instances and returns true if they are equal, false otherwise.
Return
true if the dates are equal; otherwise, false.
Parameters
left
The first instance.
right
The second instance.
dataComparer
A function which compares the data of the two intervals. If omitted, reference equality is used.