IsSame method

  1. @override
bool IsSame(
  1. Recurrence otherRecurrence
)
override
Checks if two recurrence objects are identical. The recurrence to compare this one to.

Implementation

@override
bool IsSame(Recurrence otherRecurrence) {
  return super.IsSame(otherRecurrence) &&
      this._dayOfMonth == (otherRecurrence as MonthlyPattern)._dayOfMonth;
}