equals

abstract operator override fun equals(other: Any?): Boolean

Returns whether this Date is in the same timeZone and has the same time based on durationSinceEpoch

Return

true if the two dates are equal