NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #739 most downloaded on NuGet
A fully-featured .NET library for parsing cron expressions and calculating next occurrences that was designed with time zones in mind and correctly handles daylight saving time transitions.
Latest stable
0.13.0
Last release 6 months ago
29 Apr 2026
Ships unpredictably
gaps range from 2 weeks to 2.6 years
Nearly every release is documented
notes for 23 of 23 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
23 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
https://github.com/HangfireIO/Cronos/releases
https://github.com/HangfireIO/Cronos/releases
0.13.0 • Added – Add support for retrieving previous occurrences in Cron expressions (by @israellot).
0.12.0
• Added – Support schedule jitter with the H character (by @epicoxymoron).
• Changed – Use unsigned types instead of signed ones internally (in collaboration with @joesdu).
• Project – Replace netcoreapp3.1 platform with net8.0 in tests.
Added – Support schedule jitter with the H character ( #89 by @epicoxymoron ).
Your coding agent can read these notes before it upgrades. Set up the MCP server →
H character (#89 by @epicoxymoron).netcoreapp3.1 platform with net8.0 in tests.Fixed – Make CronExpression equality operators accept null without triggering nullable warnings ( #87 by @Nechepso ).
Breaking – Sign all the assemblies with a strong name.
Changed – Removed year 2499 limitation and added tests for max value edge cases (PR #80 by @DevJasperNL ).
Added – net6.0 platform with trimmable support and enabled analyzers.
Project – Add an icon for the NuGet package.
Project – Sign NuGet package and assemblies with a company certificate and add HangfireIO owner.
HangfireIO owner.Changed – Disable deterministic source paths for source link to work better when merged using ILRepack.
Project – Don't embed full source code into assemblies to reduce package size by ~50%.
Added – Make common cron expressions like CronExpression.Hourly publicly accessible.
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.Fixed – Skipped occurrence in rare cases related to daylight transitions in some time zones on Windows (PR #37 by @aidmsu).
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 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.Important bugs were fixed in this release!
Important bugs were fixed in this release!
CronExpression.GetOccurrences skip an occurrence when Daylight Saving Time ends (the clocks jump backward).CronExpression.GetOccurrences goes into infinite loop when Daylight Saving Time ends.Changed – Decreased memory usage and improved performance of CronExpression.ToString method.
CronExpression.ToString method.CronExpression.GetNextOccurrence returned wrong result in some cases due to rounding error.Added – Implemented ToString method returning cron expression.
ToString method returning cron expression.Added – CronExpression class implemented IEquatable interface. Thus it's possible to compare two instances of CronExpression. They are equal if they d
CronExpression class implemented IEquatable interface. Thus it's possible to compare two instances of CronExpression. They are equal if they define the same date or interval. For example 0,1,2,3 * * * * is equal to 0-3 * * * * but * * L * * is not equal to * * LW * *.GetOccurrences method overloads returning the list of next occurrences within the given date/time range.Added – Supported using days of weeks names with L special character. For example, * * * * SUNL - the last sunday of a month.
Added – Supported using days of weeks names with L special character. For example, * * * * SUNL - the last sunday of a month.
Changed – Denied passing DateTime with DateTimeKind.Local in GetNextOccurrence method. Previous behavior could be incorrect when daylight saving time
DateTime with DateTimeKind.Local in GetNextOccurrence method. Previous behavior could be incorrect when daylight saving time transitions happened.CronExpression.Parse became finally case-insensitive. Thus you can use expressions with lowercase special characters: 0 0 lw * *.GetNextOccurrence faster by significant simplification of base algorithm.Fixed – GetNextOccurrence sometimes returns null when W character is used in DayOfMonth field, from param is on Saturday or Sunday, and next occurrenc
Fixed – GetNextOccurrence sometimes returns null when W character is used in DayOfMonth field, from param is on Saturday or Sunday, and next occurrence moves from weekend to the nearest weekday: Monday.
Added – CronExpression.Parse supports macros like "@daily".
CronExpression.Parse supports macros like "@daily".GetOccurrenceAfter and GetOccurrenceFrom methods merged into GetNextOccurrence.CronFormatException class serializable in .NET Framework.GetNextOccurrence(DateTime from) returns occurrence instead of throwing ArgumentException if from is invalid with Kind property set to Local.*, - or / expression is interval and it will be occurred before and after time transition.This release contains lots of breaking changes!
This release contains lots of breaking changes!
GetOccurrenceAfter and GetOccurrenceFrom.GetOccurrence methods.endTime parameter from GetOccurrence* methods.DateTime with DateTimeKind.Local to GetOccurrence* methods to calculate occurrence in Local time zone.CronExpression.Parse throws CronFormatExcpetion if given string has invalid cron format.This is the first public release.
This is the first public release.
One column per quarter.