distanceTo method

int distanceTo(
  1. Date other
)

Implementation

int distanceTo(Date other) {
  return other.julianDayNumber - julianDayNumber;
}