order

fun order(date2: Date)

Checks if @date1 is less than or equal to @date2, and swap the values if this is not the case.

Parameters

date2

the second date