distanceTo method

int distanceTo(
  1. Date other
)

Implementation

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