Date | 2023-09-11 (437 days ago) |
---|---|
Downloads | 540 downloads |
NuGet | View on NuGet |
GitHub | View on GitHub |
Target Frameworks | .NET Standard 1.1 .NET Standard 1.3 .NET Standard 2.0 .NET 4.5 .NET 4.6 .NET 4.7 .NET 4.8 .NET 5 .NET 6 |
#installation
">InstallationInstall 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
">ChangelogAdded .ToIso8601
extension methods for converting DateTime
, DateTimeOffset
and TimeSpan
instances to their ISO 8601 representation (see 955cc60
)
As an alternative to the static Iso8601Utils.ToString
methods, similar functionality is now available as extension methods.
Added InvariantFormat
static method and ToInvariantString
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
and GetPropertyInfo
methods to the ReflectionUtils
class (see f12eb5f
)
The methods allows getting either method info or property info of an expression using reflection.
Added static Min
and Max
methods for getting the minimum and maximum values of two or more DateTime
or DateTimeOffset
instances (see 7858f98
)
Might be slightly easier to get the minimum or maximum with these methods.