如何使用javaquartz周历查找最后一个工作日
谁能告诉我如何使用石英周历。
我试图找到当天的最后一个工作日,我试图排除
周末和节假日。
但在 Quartz 周历中,我无法找到
可以使用 java.util.calendar 进行的正常日期操作的方法。
谁能告诉我如何整合这两个日历的功能?
Can anyone tell me how to use quartz weekly calendar.
I am trying to find the last working day from the current day for which i am trying to exclude
weekends and holidays.
But in Quartz weekly calendar i am not able to find methods for the normal date manipulations
which i can do with java.util.calendar.
can anyone tell me how to integrate these both calendar's functions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会让任务每天执行并检查是否是一周的最后一个工作日。假期因地区甚至商业/行业而异。 (当银行关闭时,其他业务可能会开放)我不相信您会找到执行此操作的标准库。
I would have the task execute every day and check to see if its the last working day of the week. Holidays are very region even business/industry specific. (when banks are closed other business may be open) I don't believe you will find a standard library which does this.