IsSame method
Implementation
bool IsSame(Recurrence otherRecurrence) {
if (otherRecurrence == null) {
return false;
}
return (this.runtimeType == otherRecurrence.runtimeType &&
this._numberOfOccurrences == otherRecurrence._numberOfOccurrences &&
this._endDate == otherRecurrence._endDate &&
this._startDate == otherRecurrence._startDate);
}