| Date | 2026-11-23 (7 days ago) |
|---|---|
| Downloads | 129 downloads |
| NuGet | View on NuGet |
| GitHub | View on GitHub |
| Target Frameworks | .NET Standard 2.0 .NET Standard 2.1 .NET 8 .NET 9 .NET 10 |
Install via NuGet - either via the .NET CLI:
dotnet add package Skybrud.Essentials --version 1.3.0or the NuGet Package Manager:
Install-Package Skybrud.Essentials -Version 1.3.0Updated the Iso8601Utils.ToString methods to use o as format (see a739753)
+00:00 instead of Z - same as System.Text.Json)Iso8601Constants.DateTimeRoundtrip constant with the value yyyy-MM-ddTHH:mm:ss.fffffffK (same as o)Iso8601Constants.DateTimeFractionalSeconds constant with the value yyyy-MM-ddTHH:mm:ss.FFFFFFFK (trailing zeros omitted)EssentialsTimeUpdated the Parse and ParseExact methods to not accept null or empty values (see 3cf5400)
In the old implementation, the methods accepted both null and empty/whitespace values, in which case the methods would return null or the default value. This doesn't match .NET's Parse methods, which instead throws an exception of a relevant type.
With this commit, the methods will instead throw the following exceptions:
This also introduces the internal Guid class, as we can't use the static methods on ArgumentException since we're still supporting .NET Standard.
Added various extensions methods for reading cell values from a DataRow (see 89c5d24)
Following similar logic in Skybrud.Essentials, the package now contains various Get{Type}, GetRequired{Type} and TryGet{Type} style methods for DaraRow.