operator < method

bool operator <(
  1. Date other
)

Whether this date is strictly before other.

Implementation

bool operator <(Date other) => _daysSinceEpoch < other._daysSinceEpoch;