(@NotNull String cron, long time)
| 1052 | } |
| 1053 | |
| 1054 | public static long cronNextTime(@NotNull String cron, long time) throws ParseException { |
| 1055 | var cronExpression = new CronExpression(cron); |
| 1056 | return cronExpression.getNextValidTimeAfter(new Date(time)).getTime(); |
| 1057 | } |
| 1058 | |
| 1059 | public static void initCronTimer(@NotNull BCronTimer cronTimer, @NotNull String cron, long times, long endTime, |
| 1060 | @NotNull String oneByOneKey) throws ParseException { |
no test coverage detected