compareTo

open operator override fun compareTo(other: Timestamp): Int(source)

默认情况下,Timestamp 通过 milliseconds 进行顺序比较。