原书第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周啊,呵呵
本文纠正了关于 Quartz 定时任务中 # 符号理解的误区,并详细解释了 # 符号在指定每月特定星期几应用中的正确含义。
807

被折叠的 条评论
为什么被折叠?



