cron-utils
cron-utils copied to clipboard
Cron utils for parsing, validations and human readable descriptions as well as date/time interoperability.
version:9.2.1 The ‘corn’ expression is not translated in a friendly way, for example, ‘0 0 23 L * ?’ is translated as ‘在 23:00 每月最后一天’, but it should be translated...
Move to JDK 17 Resolves #486
Add day of month to day of week, `X#Y` syntax Resolves #605
After upgrade java from openjdk 11.0.22 2024-01-16 LTS to openjdk 21.0.3 2024-04-16 LTS we faced an issue with this library java.lang.VerifyError: (class: com/cronutils/model/time/ExecutionTime$forCron, method: call signature: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;) Illegal type in...
# Bug: Incorrect next execution date calculation for "0 15 10 ? * 6#3" ## Description I encountered a bug in cron-utils version 9.2.0 when calculating the next execution date...
public static void main(String[] args) { CronDefinition definition = CronDefinitionBuilder.instanceDefinitionFor(CronType.QUARTZ); CronParser parser = new CronParser(definition); Cron cron = parser.parse("*/8 * * * * ?"); ExecutionTime executionTime = ExecutionTime.forCron(cron); ZonedDateTime now...
There is a [spotless plugin](https://github.com/diffplug/spotless/tree/main/plugin-maven) that could be added to the project to check and apply formatting
Add support for LW, W and L to unix cron tab expressions fixes #670