diff

fun Date.diff(otherTime: Long): TimeDuration

Returns difference between this date and the otherTime in TimeDuration.


Returns difference between this date and that date in TimeDuration.