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 => _numberOfOccurrences != null || _endDate != null;