compareTo

open fun compareTo(value: LocalDate): Int

Compare this date with another date.

Return

-1 if this date is less than the value date, 0 if they are equal, 1 if this date is greater than the value date.

Parameters

value

The other date value.