Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.19 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.19 KB

n | l | d | c | p

Scott.Dates.Recurring

Library for working with recurring dates in a fluent syntax

Installation

Install from nuget

dotnet add package Scott.Dates.Recurring
Install-Package Scott.Dates.Recurring

Usage

You can see the usage in the tests, simple example

using Scott.Dates.Recurring;

var weekly = RuleBuilder
                .Every(2)
                .Weeks()
                .Starting(new DateTime(2016, 10, 2))
                .Ending(new DateTime(2016, 10, 31))
                .Build();
            Assert.AreEqual(16, weekly.Sequence.Count);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.