TimerExpressionChecker can not parse Cycle-Definition with Durations.
DaZang opened this issue · comments
Problem
TimerExpressionChecker can not parse Cycle-Definition with Durations like "R11/PT99S".
The called method IsoRecurrence.parseMomentIntervals(String iso) of time4j is made for definitions like "R5/2016-04-01T10:45Z/30T23:59" and time4j does not provide any suitable methods.
Solution
Camundas org.camunda.bpm.engine.impl.calendar.DurationHelper offers the desired functionality
I'll create a pull request with a proposed fix and test case
Merged the PR. Thanks 👍