v1.1.51
Installation
Install via NuGet - either via the .NET CLI:
dotnet add package Skybrud.Essentials --version 1.1.51
or the NuGet package manager:
Install-Package Skybrud.Essentials -Version 1.1.51
Changelog
-
Added
.ToIso8601
extension methods for convertingDateTime
,DateTimeOffset
andTimeSpan
instances to their ISO 8601 representation (see 955cc60)
As an alternative to the staticIso8601Utils.ToString
methods, similar functionality is now available as extension methods. -
Added
InvariantFormat
static method andToInvariantString
extension method (see 54c7218)
Adds a bit of extra functionality for easily converting an instance to an invariant string. Probably most relevant for numbers and other simple types. -
Added new
GetMethodInfo
andGetPropertyInfo
methods to theReflectionUtils
class (see f12eb5f)
The methods allows getting either method info or property info of an expression using reflection. -
Added static
Min
andMax
methods for getting the minimum and maximum values of two or moreDateTime
orDateTimeOffset
instances (see 7858f98)
Might be slightly easier to get the minimum or maximum with these methods.