You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was imagining:
Date nextDate = startDate.GetNext("second and fourth Thursdays");
and
IEnumerable nextDates = startDate.GetNext("second and fourth Thursdays", 10);
Although... with a "yield return", can you get away with not providing the int parameter, and have it act like an infinite series? Just don't call .Count() on it. :T
Given a description like "second and fourth Thursdays," I could get the next date in the series, or a collection of the next n dates in the series.
The text was updated successfully, but these errors were encountered: