Version 1.1.10

Date 2019-04-07 (2,049 days ago)
Downloads 831 downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET Standard 1.1 .NET Standard 1.3 .NET 4.5 .NET 4.6 .NET 4.7

#installation">Installation

#changelog">Changelog

  • EnumUtils.TryParse will no longer throw an exception if input is null or white space (see c03305e and #7)
    The idea is that the method should fail silently, so it should just return false instead of throwing an exception.

  • Added new constructor overloads to the EssentialsTime class (see de2896c)
    The EssentialsTime class can now also be initialized from an instance of EssentialsDate with three new constructor overloads:

    • EssentialsTime(EssentialsDate date)
    • EssentialsTime(EssentialsDate date, TimeSpan offset)
    • EssentialsTime(EssentialsDate date, TimeZoneInfo timeZone)
  • Added input validation for EssentialsTime constructors (see fccf16c)
    The constructors in the EssentialsTime class will now throw an exception of type ArgumentNullException when a required parameter is passed as null .

  • Operator overloading (see 6e686d2).
    Added operator overload to the EssentialsTime allowing it to be converted from an instance of DateTime.