com.sap.scheduler.api.fields
Class CronDOWField
java.lang.Object
com.sap.scheduler.api.CronField
com.sap.scheduler.api.fields.CronDOWField
- All Implemented Interfaces:
- Serializable
public class CronDOWField
- extends CronField
This class represents a Cron day of week field.
- See Also:
- Serialized Form
| Fields inherited from class com.sap.scheduler.api.CronField |
FIELD_HOUR, FIELD_MINUTE, FIELD_MONTH, FIELD_MONTH_DAY, FIELD_OK, FIELD_WEEK_DAY, FIELD_YEAR, fieldCodesToErrMsgs, fldCode, INFINITY, INVALID_FIELD_CODE, strEntry |
|
Constructor Summary |
CronDOWField(int singleValue)
Constructs a day of week field from given single value |
CronDOWField(int start,
int end)
Constructs a day of week field from given value range, e.g. |
CronDOWField(int start,
int end,
int step)
Constructs a day of week field from given value range and step, e.g. |
CronDOWField(String str)
Constructs a day of week field from given cron |
|
Method Summary |
static String |
getStringValue(int val)
Returns a string representation of a corresponding day |
CronDOWField
public CronDOWField(String str)
- Constructs a day of week field from given cron
- Parameters:
str - the cron
CronDOWField
public CronDOWField(int singleValue)
- Constructs a day of week field from given single value
- Parameters:
singleValue - the single value
CronDOWField
public CronDOWField(int start,
int end)
- Constructs a day of week field from given value range, e.g. [start - end]
- Parameters:
start - the start valueend - the end value
CronDOWField
public CronDOWField(int start,
int end,
int step)
- Constructs a day of week field from given value range and step, e.g. [start - end]/step
- Parameters:
start - the start valueend - the end valuestep - the step value
getStringValue
public static String getStringValue(int val)
- Returns a string representation of a corresponding day
- Parameters:
val - the integer value
- Returns:
- the day name
This class can be accessed from:
|
SC
|
DC
|
[sap.com] ENGFACADE
|
[sap.com] tc/je/scheduler/api
|
Copyright 2010 SAP AG Complete Copyright Notice