distanceTo method

int distanceTo(
  1. UDate other
)

Days from this date to other.

Implementation

int distanceTo(UDate other) => other.julianDayNumber - julianDayNumber;