toDate

open fun toDate(): Date

Convert to java.util.Date,

java.util.Date uses millisecond precision so the returned value is rounded to the nearest millisecond. Rounding errors may occur when comparing this value to event timestamps.

Return

Time timestamp as java.util.Date.