gpt4 book ai didi

java - Oracle ATG 调度程序 : Month oddity

转载 作者:行者123 更新时间:2023-12-01 13:13:00 25 4
gpt4 key购买 nike

ATG 调度程序的基本用法(作为 ATG 属性文件中的属性添加):

schedule=calendar mos dates wkdays mo-occurs hrs mins

这方面的文档是 here .

月份(mos)的描述让我非常困惑:

Parameter | Values | Description 

mos | 0..11 | The months when the task occurs, where 0 represents December.

这种与正常月份表示(即 1-12)的奇怪中断是否有任何正当理由?

我不明白他们为什么这样做。它甚至与 java.util.Calendar 的行为方式不一致:Link

对于他们为什么这样做有一些合乎逻辑的解释吗?

最佳答案

这是一个打字错误。在旧文档中 ATG 2007它正确地将 1 月表示为 0,将 12 月表示为 11。此外,该页面上的其余内容表示 5 月为 4,8 月为 7(仅当 1 月为 0 时才正确)。这似乎已经渗透到 2007 年和 ATG 9 之间的文档中。在 ATG 10.2/ATG 11 文档中它仍然不正确

关于java - Oracle ATG 调度程序 : Month oddity,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22697071/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com