isBefore method

bool isBefore(
  1. PersianDate other
)

Whether this date is before other, ignoring the time of day.

Implementation

bool isBefore(PersianDate other) => compareTo(other) < 0;