Repository navigation
v1.2.0-alpha005
Installation
Install via NuGet - either via the .NET CLI:
dotnet add package Skybrud.Essentials --version 1.2.0-alpha005
or the NuGet Package Manager:
Install-Package Skybrud.Essentials -Version 1.2.0-alpha005
Changelog
-
Introduced new
TimeUtils.UnixTimeSecondsandTimeUtils.UnixTimeMillisecondsformats (see 5d9b9ef)
UNIX time may be specified in either seconds or milliseconds, whichTimeUtils.UnixTimefailed to represent. The existingTimeUtils.UnixTimehas now been mamrked as obsolete, andTimeUtils.UnixTimeSecondshas been introduced to replace it.TimeUtils.UnixTimeMillisecondshas also been added to represent milliseconds. -
Updated the
StringUtils.TryParseBooleanmethods to support the sametruthyandfalsyvalues (see fa9164f)
One method supportedyes,y,noandnwhile the other didn't. Now both do support these values. -
Added support for working with
DateOnlyandTimeOnly(see 8bb039f)
TheEssentialsDateandEssentialsTimeclasses now have additional constructors and methods that supportDateOnlyandTimeOnly.