min

fun min(dateA: Date?, dateB: Date?): Date?

Returns the minimum of two dates.