Dates.Recurring
Dates.Recurring copied to clipboard
Easily calculate the next recurrence for recurring dates using a fluent syntax
Hi, At one time this library used multi-targetting to support both .Net standard 2.1 as 2.0 I see that this has been changed so supposedly add support to .Net 5....
Currently `IRecurring.Previous()` will return null if the result would be before the date passed to `Starting()`; would it be possible to add an option for this restriction to be lifted?...
Small suggestion to have a method to retrieve all dates, Currently I'm doing this, not sure if it's the best `// Weekly recurrences var weekly = Recurs .Starting(request.DateStart.DateTime) .Every(1) .Weeks()...
Hey @gavynriebau, I needed a way to specify after a certain number of iterations in a recurrence to return a null date, showing that the recurrence is over. I added...
I see "OnDay" and "OnOrdinalWeek" are optional for "Months" event builder type. But I am getting below exception at **OrdinalTargetDay** `'Nullable object must have a value.' `  
The DaysBuilder has Including() which takes one or more days, The WeekBuilder has OnDays() taking the same parameter. Both are optional. I like to have something like that for the...
I was wondering if you have a function for finding the last working day of each month. I was thinking that using the OnDay with a bitwise expression would work...
I am trying to get the Last Monday of every month. IRecurring rule; rule = Recurs.Starting(new DateTime(2023,1,1)) .Every(1) .Months() .OnOrdinalWeek(Ordinal.LAST).OnDay(DayOfWeek.Monday) .Ending(new DateTime(2023,6,15)) .Build(); DateTime dt = new DateTime(2023, 1, 1);...
Hey :) I just noticed that the calculation of the last day differs for each period when the last day matches the endDate. For the daily/weekly period, the last day...