compareTo

open operator override fun compareTo(other: HebrewLocalDate): Int

Compares this date to another date.

The comparison is primarily based on the date, from earliest to latest. It is "consistent with equals", as defined by Comparable.

Return

the comparator value, negative if less, positive if greater

Parameters

other

the other date to compare to