equalsEpsilon
fun equalsEpsilon(right: JulianDate? = definedExternally, epsilon: Double? = definedExternally): Boolean(source)
Compares this and the provided instance and returns true
if they are within epsilon
seconds of each other. That is, in order for the dates to be considered equal (and for this function to return true
), the absolute value of the difference between them, in seconds, must be less than epsilon
.
Return
true
if the two dates are within epsilon
seconds of each other; otherwise false
.
Parameters
right
The second instance.
epsilon
The maximum number of seconds that should separate the two instances. Default value - 0