equals method

bool equals(
  1. DateInterval other
)

Compares the given date interval for equality with this one.

Date intervals are equal if they have the same start and end dates.

  • other: The date interval to compare this one with.

Returns: True if this date interval has the same same start and end date as the one specified.

Implementation

bool equals(DateInterval other) => this == other;