Nate Clark 59d3f1134c CronExpression: Search from most to least significant field
Searching for next time from least significant to most significant field can be
very expensive if the next time stamp is significantly in the future. Instead
match from most significant field down to least restarting the search if a
match is not found for the current field.
2019-08-02 10:02:56 -04:00
2018-04-19 16:27:40 +02:00
2014-05-30 10:34:35 +02:00
2017-03-02 07:33:39 +01:00
2017-03-01 19:35:41 +01:00
2017-03-02 07:22:02 +01:00
2018-04-19 16:27:04 +02:00

Known Vulnerabilities

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.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
Description
Cron expression parser and evaluator. One version based on Joda-time, other on Java Time
Readme Apache-2.0 189 KiB
Languages
Java 100%