[jboss-jira] [JBoss JIRA] (WFLY-3766) Enhance DST changes handling by EJB CalendarBasedTimeout
Eduardo Martins (JIRA)
issues at jboss.org
Tue Oct 14 10:42:35 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eduardo Martins updated WFLY-3766:
----------------------------------
Description:
EJB schedule expressions were designed to match UNIX Cron, but WildFly currently does not provides such handling of DST changes, relying on JDK Calendar to handle these, which means that on DST rollback repeated periods only STD timeouts will be generated, and on DST forward skipped periods a replacement will be used (+ or - amount of DST savings) that may repeat (when adjustment goes back) or skip (when adjustment goes forward) other timeouts.
This issue should add traditional cron behaviour to WildFly EJB CalendarBasedTimeout, i.e. timeouts on DST rollback repeated period will occur in both DST and STD, and timeouts on DST forward skipped period will be skipped. Tests that ensure such behaviour should be added too.
was:
EJB schedule expressions were designed to match UNIX Cron, but WildFly currently does not includes modern Cron handling of DST changes, i.e., on DST rollback avoid duplicate timeouts, and on DST forward avoid skipping timeouts on the skipped time period, running the related timeouts later.
This issue should add such behaviour to WildFly EJB CalendarBasedTimeout and add tests to ensure its correctness.
> Enhance DST changes handling by EJB CalendarBasedTimeout
> --------------------------------------------------------
>
> Key: WFLY-3766
> URL: https://issues.jboss.org/browse/WFLY-3766
> Project: WildFly
> Issue Type: Enhancement
> Components: EJB
> Reporter: Eduardo Martins
> Assignee: Eduardo Martins
>
> EJB schedule expressions were designed to match UNIX Cron, but WildFly currently does not provides such handling of DST changes, relying on JDK Calendar to handle these, which means that on DST rollback repeated periods only STD timeouts will be generated, and on DST forward skipped periods a replacement will be used (+ or - amount of DST savings) that may repeat (when adjustment goes back) or skip (when adjustment goes forward) other timeouts.
> This issue should add traditional cron behaviour to WildFly EJB CalendarBasedTimeout, i.e. timeouts on DST rollback repeated period will occur in both DST and STD, and timeouts on DST forward skipped period will be skipped. Tests that ensure such behaviour should be added too.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list