overlaps method
- PersianDateRange other
Whether this range and other share at least one day.
Implementation
bool overlaps(PersianDateRange other) =>
!other.end.isBefore(start) && !other.start.isAfter(end);
Whether this range and other share at least one day.
bool overlaps(PersianDateRange other) =>
!other.end.isBefore(start) && !other.start.isAfter(end);