maxOf

fun maxOf(vararg dates: Date?): Date?

Returns the maximum of the given dates.