Quartz 2.x documentation says
So cron expressions can be as simple as this: * * * * ? * or more complex, like this: 0/5 14,18,3-39,52 * ? JAN,MAR,SEP MON-FRI 2002-2010
But if I try
System.out.println(org.quartz.CronExpression.isValidExpression("* * * * ? * *"));
It says
false
Why?
Javadoc for the isValidExpression is http://quartz-scheduler.org/api/2.2.1/org/quartz/CronExpression.html
Ps. this question is NOT a duplicate of Verifying a cron expression is valid in Java