Fluent DateTime for .NET


 

A set of (Ruby inspired) C# Extension Methods for easier and more natural DateTime handling and operations in .NET.
Allows you to write code like this: Alpha

DateTime.Now + 1.Week() + 3.Days + 14.Minutes();
3.Days().Ago();
5.Days().After(new DateTime(2000, 1, 1));
DateTime.Now.NextDay();
DateTime.Now.WeekAfter();
DateTime.Now.Midnight();
DateTime.Now.SetTime(11, 55, 0);

Fluent DateTime – Home

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s