《pro Spring》一书中关于quartz cronTrigger表达式通配符的严重错误

原书第450页关于#的介绍

书上说1#2表示  每个月的第一个星期一,实际应为每个月的第2个星期天

译者把#前后的意思弄反

quartz原文档上说明如下:

The '#' is used to specify "the nth" XXX weekday of the month. For example, the value of "6#3" or "FRI#3" in the day-of-week field means "the third Friday of the month".

 

可以看到6#3表示第三个星期5,而不是第6个星期2,一个月怎么可能有6周啊,呵呵

 

你可能感兴趣的:(spring,quartz,文档)