Class DayOfWeek
- java.lang.Object
-
- org.jboss.as.ejb3.timerservice.schedule.attribute.IntegerBasedExpression
-
- org.jboss.as.ejb3.timerservice.schedule.attribute.DayOfWeek
-
public class DayOfWeek extends IntegerBasedExpression
DayOfWeek- Version:
- $Revision: $
- Author:
- Jaikiran Pai
-
-
Field Summary
Fields Modifier and Type Field Description static IntegerMAX_DAY_OF_WEEKstatic IntegerMIN_DAY_OF_WEEK-
Fields inherited from class org.jboss.as.ejb3.timerservice.schedule.attribute.IntegerBasedExpression
absoluteValues, origValue, relativeValues, scheduleExpressionType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanaccepts(ScheduleExpressionType scheduleExprType)intgetFirst()protected IntegergetMaxValue()protected IntegergetMinValue()IntegergetNextMatch(Calendar currentCal)booleanisRelativeValue(String value)Checks if relative value is supported.protected IntegerparseInt(String alias)-
Methods inherited from class org.jboss.as.ejb3.timerservice.schedule.attribute.IntegerBasedExpression
assertValid, getType, processIncrement, processListItem, processListValue, processRangeValue, processSingleValue
-
-
-
-
Constructor Detail
-
DayOfWeek
public DayOfWeek(String value)
-
-
Method Detail
-
getMaxValue
protected Integer getMaxValue()
- Specified by:
getMaxValuein classIntegerBasedExpression
-
getMinValue
protected Integer getMinValue()
- Specified by:
getMinValuein classIntegerBasedExpression
-
getFirst
public int getFirst()
-
accepts
protected boolean accepts(ScheduleExpressionType scheduleExprType)
- Specified by:
acceptsin classIntegerBasedExpression
-
isRelativeValue
public boolean isRelativeValue(String value)
Description copied from class:IntegerBasedExpressionChecks if relative value is supported.- Specified by:
isRelativeValuein classIntegerBasedExpression- Parameters:
value- non-null value- Returns:
- true if relative value is supported
-
parseInt
protected Integer parseInt(String alias)
- Overrides:
parseIntin classIntegerBasedExpression
-
-