Skip to content

Cron expression parser and evaluator. One version based on Joda-time, other on Java Time

License

Notifications You must be signed in to change notification settings

frode-carlsen/cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SonarCloud Bugs SonarCloud Vulnerabilities Known Vulnerabilities GitHub

cron

Cron expression parser and evaluator.

Allows for specifying cron - expressions (in Unix or Quartz like format) and evaluating when it will next match.

Modules

  • cron-jodatime: Based on jodatime. Supports java6
  • cron-java8: Based on java8/time. Requires java8+

Usage

See javadoc

Change history and credits

version 1.6:

  • 2020-11-05: fix issue #7 for java8 Switching Month/Year with given Month fails on nextTimeAfter by @foto-andreas

version 1.5:

  • 2019-08-02: performance improvement when next time is further into the future (java8) by @n3world

version 1.4:

  • 2017-02-13: added support for java6 (supports android 4) by @adelnizamutdinov
  • 2016-09-11: rewritten to Java 8 DateTime by @zemiak

version 1.3:

  • 2015-09-23: added timezone to tests by @alf

version 1.2:

  • 2015-08-05: added protection for endless loop when looking up Feb 30th & optional seconds by @michaelknigge

About

Cron expression parser and evaluator. One version based on Joda-time, other on Java Time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages