MichMcb.CsExt 2.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package MichMcb.CsExt --version 2.3.0
NuGet\Install-Package MichMcb.CsExt -Version 2.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MichMcb.CsExt" Version="2.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MichMcb.CsExt --version 2.3.0
#r "nuget: MichMcb.CsExt, 2.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MichMcb.CsExt as a Cake Addin
#addin nuget:?package=MichMcb.CsExt&version=2.3.0

// Install MichMcb.CsExt as a Cake Tool
#tool nuget:?package=MichMcb.CsExt&version=2.3.0

A library full of helpful stuff. It's just a collection of functions I've created. This particular library is mainly stuff that I make for myself that I feel like sharing.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.0 103 2/4/2024
3.3.0 335 8/16/2023
3.2.0 497 2/8/2023
3.1.2 622 10/25/2022
3.1.1 657 9/7/2022
3.1.0 634 8/11/2022
3.0.0 665 7/26/2022
2.6.0 687 7/5/2022
2.5.0 700 4/5/2022
2.4.0 654 3/29/2022
2.3.1 683 3/22/2022
2.3.0 670 3/19/2022
2.2.1 660 3/1/2022
2.2.0 669 2/28/2022
2.1.0 646 2/25/2022
2.0.0 517 11/22/2021
1.2.0 554 11/17/2021
1.1.0 550 11/8/2021
1.0.1 624 8/25/2021
1.0.0 583 8/12/2021
0.9.1 595 7/6/2021
0.9.0 618 6/25/2021
0.8.2 586 6/24/2021
0.8.1 626 6/16/2021
0.8.0 632 6/14/2021
0.7.1 589 6/4/2021
0.7.0 574 6/3/2021
0.6.0 634 2/17/2021
0.5.1 741 1/2/2021
0.5.0 714 1/1/2021
0.4.2 720 12/3/2020
0.4.1 698 11/11/2020
0.4.0 737 11/4/2020
0.3.2 743 9/28/2020
0.3.1 776 9/20/2020
0.3.0 752 9/9/2020
0.2.2 723 8/27/2020
0.2.1 732 8/26/2020
0.2.0 743 8/6/2020
0.1.0 749 7/30/2020

- More unit tests, ~74% coverage
- Fixed an index out of range exception with ParseYearMonthDay when the string was not 10 or 8 characters long exactly. Length is now checked and returned as an error if it is not 10 or 8.
- UtcDateTime.ToUnixEpochSeconds and UtcDateTime.ToUnixEpochMilliseconds are now called ToUnixTimeSeconds and ToUnixTimeMilliseconds to be consistent with everything else
- Checking difference between UtcDateTime requires a ulong now, and there is a method to get the absolute difference in milliseconds
- Operator - for subtracting a TimeSpan from a UtcDateTime, to mirror the + operator
- Some internal constants on UtcDateTime are now public, and other constants on UtcDateTime are named to be more clear as to what they mean. They are also renamed from UnixEpoch to UnixTime.
- Rfc3339 can be parsed, which is a strict profile of ISO-8601. Specifically, it is the extended format, with or without milliseconds, and either Z or a timezone offset. Missing a timezone offset is not allowed.
- Rfc3339 can be formatted using Iso8601Format.ExtendedFormat_UtcTz or Iso8601Format.ExtendedFormat_FullTz, or UtcDateTime.FormatExtendedFormatUtc.