Created
April 22, 2015 09:26
-
-
Save nurkiewicz/547b6d57f5b0625da80f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final CronExpression cronExpression = new CronExpression("0 0 5 * * ?"); | |
Date since = new Date(); | |
for (int i = 0; i < 100; i++) { | |
since = cronExpression.getNextValidTimeAfter(since); | |
System.out.println(since); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment