MichMcb.CsExt 0.9.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package MichMcb.CsExt --version 0.9.0
NuGet\Install-Package MichMcb.CsExt -Version 0.9.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="0.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MichMcb.CsExt --version 0.9.0
#r "nuget: MichMcb.CsExt, 0.9.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=0.9.0

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

A library full of helpful stuff. It's just a collection of functions I've created. Note that for this particular library, as it's mainly stuff that I make for myself that I feel like sharing, I won't hesitate to make breaking changes, and will keep it up to date with the latest .NET releases.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  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.

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 657 3/29/2022
2.3.1 685 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

UtcDateTime.TryParseIso8601String Improvements...
- Fixed bug where it did not parse strings with leading/trailing whitespace correctly as the documentation says it does
- Corrected the error messages when it could not parse a string
- T and Z are case insensitive as per ISO-8601
- Decimal for milliseconds is allowed to be . or , as per ISO-8601
- Removed ability to specify custom separators bewteen date/time, as it isn't ISO-8601 complaint and can't be parsed anyways. Instead if the - or : are problematic, use basic format which does not have any separators.
- String formatting methods have changed. There's one for UTC and one for TimeZone, with bools rather than taking a format. ToIso8601String takes a format, and TryToIso8601String has been added as well
- DateUtil.GetLengthRequired and DateUtil.ValidateAsFormat replaced with TryGetLengthRequired, which does both at once

Maybe<TVal, TErr>
- Maybe now has static methods to construct an instance, where TVal and TErr are the same type