[jboss-jira] [JBoss JIRA] (WFLY-5997) Initial calculation of the first expiration time for a scheduled timer is wrong if a start date is set
Brad Maxwell (JIRA)
issues at jboss.org
Thu Jan 14 13:07:00 EST 2016
Brad Maxwell created WFLY-5997:
----------------------------------
Summary: Initial calculation of the first expiration time for a scheduled timer is wrong if a start date is set
Key: WFLY-5997
URL: https://issues.jboss.org/browse/WFLY-5997
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 8.2.1.Final, 9.0.2.Final, 10.0.0.CR5
Reporter: Brad Maxwell
Assignee: Wolf-Dieter Fink
If a scheduled timer should be created with the following parameters:
ScheduleExpression[second=0 minute=0/5 hour=20-22 dayOfWeek=* dayOfMonth=* month=* year=* start=Thu Jan 14 09:45:35 GMT+1 2016]
The first schedule should be
Thu Jan 17 20:00:20 GMT+1 2016
but is calculated as
Sun Jan 17 20:45:35 GMT+1 2016
The minutes are not correctly set according to the schedule and the given start date.
This happen for seconds/minutes if the ScheduleExpression limit the range.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list