/** * Creates cron expression object with defined expression string * * @param expression of cron * @return object * @throws IllegalArgumentException * wrapping a ParseException if the expression is invalid */ public static CronSchedule of(String expression) { return new CronSchedule(new CronExpression(expression)); }
/** * Creates cron expression object with defined expression string * * @param expression of cron * @return object * @throws IllegalArgumentException * wrapping a ParseException if the expression is invalid */ public static CronSchedule of(String expression) { return new CronSchedule(new CronExpression(expression)); }
/** * Creates cron expression object with defined expression string * * @param expression of cron * @return object * @throws IllegalArgumentException * wrapping a ParseException if the expression is invalid */ public static CronSchedule of(String expression) { return new CronSchedule(new CronExpression(expression)); }