|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IBusinessCalendarDay
This interface allows you to customize the scheduling information used in your Business Calendar template.
This interface allows you to set the run days for your business calendar.
| Field Summary | |
|---|---|
static int |
ALL
Indicates that the job runs on all the possible values of the specified time field. |
static int |
FINAL_WEEK
Indicates that the job runs in the last 7 days of the month. |
| Method Summary | |
|---|---|
int |
getDayOfWeek()
Returns a specific day of the week ( Calendar) or all week (IBusinessCalendarDay.ALL). |
int |
getEndDay()
Returns the day on which the schedule stops running. |
int |
getEndMonth()
Returns the month when the schedule stops running. |
int |
getEndYear()
Returns the year in which the schedule will stop running. |
int |
getGroupID()
Returns the group ID associated with this Business Calendar Day. |
int |
getStartDay()
Returns the day when the schedule will being running. |
int |
getStartMonth()
Returns the month when the schedule will begin running. |
int |
getStartYear()
Returns the year in which the schedule will begin running. |
int |
getWeekNumber()
Returns the specific week in the month when the job will be processed. |
void |
setDayOfWeek(int dayOfWeek)
Sets the day of the week that the job will run. |
void |
setEndDay(int day)
Sets the day on which the schedule stops running. |
void |
setEndMonth(int month)
Sets the month in which the schedule stops running. |
void |
setEndYear(int year)
Sets the year in which the schedule will stop running. |
void |
setGroupID(int groupNum)
Sets the group ID for this Business Calendar Day. |
void |
setStartDay(int day)
Sets the day when the schedule will begin running. |
void |
setStartMonth(int month)
Sets the month in which the schedule will begin running. |
void |
setStartYear(int year)
Sets the year in which the schedule will begin running. |
void |
setWeekNumber(int week)
Sets the specific week in the month in which the job will be processed. |
| Field Detail |
|---|
static final int ALL
Indicates that the job runs on all the possible values of the specified time field.
static final int FINAL_WEEK
Indicates that the job runs in the last 7 days of the month.
| Method Detail |
|---|
int getStartYear()
Returns the year in which the schedule will begin running.
int specifying the start year.void setStartYear(int year)
Sets the year in which the schedule will begin running.
year - An int specifying the start year.int getStartMonth()
Returns the month when the schedule will begin running. The return value
can be evaluated as one of the fields representing Calendar.MONTH field
in Calendar, or IBusinessCalendarDay.ALL, which means every month in a year.
int specifying the start month.void setStartMonth(int month)
Sets the month in which the schedule will begin running. The value
can be evaluated as one of the fields representing Calendar.MONTH field
in Calendar, or IBusinessCalendarDay.ALL, which means every month in the year.
month - An int specifying the start month.int getStartDay()
Returns the day when the schedule will being running.
int specifying the start day.void setStartDay(int day)
Sets the day when the schedule will begin running.
day - An int specifying the start day.int getEndYear()
Returns the year in which the schedule will stop running.
int specifying the end year.void setEndYear(int year)
Sets the year in which the schedule will stop running.
year - An int specifying the end year.int getEndMonth()
Returns the month when the schedule stops running. The return value
can be evaluated as one of the fields representing Calendar.MONTH field
in Calendar, or IBusinessCalendarDay.ALL, which means every month in the year.
int specifying the end month.void setEndMonth(int month)
Sets the month in which the schedule stops running. The value
can be evaluated as one of the fields representing Calendar.MONTH field
in Calendar, or IBusinessCalendarDay.ALL, which means every month in the year.
month - An int value representing the end month.int getEndDay()
Returns the day on which the schedule stops running.
int specifying the end day.void setEndDay(int day)
Sets the day on which the schedule stops running.
day - An int value representing the end day.int getWeekNumber()
Returns the specific week in the month when the job will be processed.
The number of the week is represented by an int. 1 represents
the first week of the month while 5 is the last week of the month. A special
value of 6 can also be returned representing the last 7 days of a month
which might partially included logical week 4 and 5. The default
is IBusinessCalendarDay.ALL, which means the job will run every week in the month.
int specifying the week of the month.void setWeekNumber(int week)
Sets the specific week in the month in which the job will be processed.
The number of the week is represented by an int. 1 represents
the first week of the month while 5 is the last week of the month. A special
value of 6 is also accepted and denotes the last 7 days of a month
which might partially include logical week 4 and 5. The default is IBusinessCalendarDay.ALL, which
means the job will run every week in the month.
week - An int specifying the week of the month. Possible
values range from 1 to 5 with IBusinessCalendarDay.ALL meaning every week.void setDayOfWeek(int dayOfWeek)
Sets the day of the week that the job will run. This can be a
specific day (one of the fields representing Calendar.DAY_OF_WEEK) or
all week (IBusinessCalendarDay.ALL).
dayOfWeek - An int representing the days of the week when the job
runs. The value of the argument is evaluated as one of the fields representing
Calendar.DAY_OF_WEEK in Calendar, or
IBusinessCalendarDay.ALL, which means everyday of the week.int getDayOfWeek()
Returns a specific day of the week (Calendar) or all week (IBusinessCalendarDay.ALL).
int specifying the days of the week when the job runs.
The return type can also be evaluated as one of the fields representing
Calendar.DAY_OF_WEEK in Calendar, or
IBusinessCalendarDay.ALL, which means everyday of the week.void setGroupID(int groupNum)
Sets the group ID for this Business Calendar Day.
groupNum - An int representing a group ID.int getGroupID()
Returns the group ID associated with this Business Calendar Day.
int specifying the group ID of this Business Calendar Day.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||