public class CalendarBasedTimeout extends Object
Constructor and Description |
---|
CalendarBasedTimeout(javax.ejb.ScheduleExpression schedule)
Creates a
CalendarBasedTimeout from the passed schedule . |
Modifier and Type | Method and Description |
---|---|
Calendar |
getFirstTimeout() |
Calendar |
getNextTimeout() |
Calendar |
getNextTimeout(Calendar currentCal) |
javax.ejb.ScheduleExpression |
getScheduleExpression()
Returns the original
ScheduleExpression from which this CalendarBasedTimeout
was created. |
public CalendarBasedTimeout(javax.ejb.ScheduleExpression schedule)
CalendarBasedTimeout
from the passed schedule
.
This constructor parses the passed ScheduleExpression
and sets up
its internal representation of the same.
schedule
- The schedulepublic Calendar getNextTimeout()
public Calendar getFirstTimeout()
public javax.ejb.ScheduleExpression getScheduleExpression()
ScheduleExpression
from which this CalendarBasedTimeout
was created.Copyright © 2018 JBoss by Red Hat. All rights reserved.