A fully-featured .NET library for working with Cron expressions. Built with time zones in mind and intuitively handles daylight saving time transitions
HangfireIO
owner.CronExpression.Hourly
publicly accessible.CronExpression.TryParse
method to allow checking cron expressions.MaxYear
constant is now bumped to 2499
, so we have more years now (by @FaithfulDev).MaxYear
value (by @FaithfulDev).TimeZoneInfo.BaseUtcOffset
is a subject to change between years.ToString
method's result when they weren't passed.net6.0
target.The goal of this release is to make the library native to .NET Standard 2.0 by removing the NETStandard.Library
dependency – this will heavily reduce the number of installed packages. There are no new features or bug fixes, so it's more like a maintenance release.
netstandard2.0
targeting to not to install any dependencies in .NET Core applications.NETStandard.Library
dependency bumped to version 1.6.1
in netstandard1_0
target.AdjustmentRule
class because it works differently on Linux with .NET Core 2.X and causes issues.