-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let
GetOccurrences()
et al return an IEnumerable
rather than `Has…
…hSet`. (#665) * CollectionHelpers: Introduce streaming operators on ordered `IEnumerable`s, `OrderedMerge`, `OrderedMergeMany`, `OrderedDistinct`. * Modify `IEvaluator.Evaluate()`, `IGetOccurrences*.GetOccurrences()`, etc. to return an ordered `IEnumerable` rather than a `HashSet` and modify the implementations to generate results on iteration rather than fully enumerating the full result set upfront. * IGetOccurrences, IEvaluator: Allow querying occurrences without specifying bounds. * Rename `IGetOccurrences.GetOccurrences(dt)` overload for getting the occurrences of a single day to `GetOccurrencesOfDay()` to avoid ambiguities with the other overloads. * CalendarCollection: Simplify code, avoid redundancies and add comments. * VTimeZoneInfo: Implement missing `GetHashCode()`. * Remove `GetOccurrences.GetOccurrencesOfDay()` and related. * NOSONAR * Add default params in overridden methods to make Sonarcloud happy.
- Loading branch information
Showing
22 changed files
with
502 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.