HasEnd property

bool get HasEnd
Gets a value indicating whether the pattern has a fixed number of occurrences or an end date.

Implementation

bool get HasEnd => this._numberOfOccurrences != null || this._endDate != null;