Class DurationHelper
java.lang.Object
org.flowable.common.engine.impl.calendar.DurationHelper
Helper class for parsing ISO8601 duration format (also recurring) and computing next timer date.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDurationHelper(String expressionS, int maxIterations, ClockReader clockReader) DurationHelper(String expressionS, ClockReader clockReader) -
Method Summary
Modifier and TypeMethodDescriptionprotected CalendargetCalendarAfter(Calendar time) getEnd()getStart()intgetTimes()protected booleanisDuration(String time) booleanisRepeat()isValidDate(Date newTimer) protected Calendarprotected DurationparsePeriod(String period)
-
Field Details
-
DATE_FORMAT
-
clockReader
-
-
Constructor Details
-
DurationHelper
public DurationHelper(String expressionS, int maxIterations, ClockReader clockReader) throws Exception - Throws:
Exception
-
DurationHelper
- Throws:
Exception
-
-
Method Details