equals

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

Returns true if two time marks from the same time source represent the same moment of time, and false otherwise, including the situation when the time marks were obtained from different time sources.

Since Kotlin

1.9