Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.07 KB

README.md

File metadata and controls

19 lines (15 loc) · 1.07 KB

Utils Lite

Small tools (object pool, retry logic, automatic mapping etc.) for .NET Standard.

Build Status Coverage Status Nuget License: MIT pull requests: welcome

Examples

Date class

The Date class is a simle wrapper around the built-in DateTime struct, which indicates your intent to only use the date component:

DateTime myDateTime = new DateTime(2016, 01, 28, 18, 20, 00);
Date justDate = Date.FromDateTime(myDateTime);
Console.WriteLine(justDate.ToString("yyyy-MM-dd"));