为什么Quartz说这个cron表达式无效?

Leo*_*Leo 4 java quartz-scheduler

Quartz 2.x 文档

所以cron表达式可以这么简单:****?*或更复杂,如:0/5 14,18,3-39,52*?JAN,MAR,SEP MON-FRI 2002-2010

但是,如果我尝试

System.out.println(org.quartz.CronExpression.isValidExpression("* * * * ? * *"));
Run Code Online (Sandbox Code Playgroud)

它说

false
Run Code Online (Sandbox Code Playgroud)

为什么?

isValidExpression的Javadoc是http://quartz-scheduler.org/api/2.2.1/org/quartz/CronExpression.html

PS.这个问题不是重复验证cron表达式在Java中是否有效

Tom*_*Tom 7

链接的JavaDoc为cron表达式提到了这个结构:

Field Name      Allowed Values       Allowed Special Characters

Seconds         0-59                 , - * /
Minutes         0-59                 , - * /
Hours           0-23                 , - * /
Day-of-month    1-31                 , - * ? / L W
Month           1-12 or JAN-DEC      , - * /
Day-of-Week     1-7 or SUN-SAT       , - * ? / L #
Year (Optional) empty, 1970-2199     , - * /
Run Code Online (Sandbox Code Playgroud)

你的cron表达式是"* * * * ? * *"?在了第五位Month.正如你所看到的,这个人物是不是不允许存在.