|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The day of week schedule specifies the weekly time frames during which the schedule will be active.
Method Summary | |
java.lang.Object |
clone()
Deep copy of this instance. |
java.util.TimeZone |
getTimeZone()
Gets the time zone of the weekly schedule. |
boolean |
isActive()
Checks if the schedule is active or not. |
boolean |
isFridayActive()
Indicate if the day of week schedule is active on Friday. |
boolean |
isMondayActive()
Indicate if the day of week schedule is active on Monday. |
boolean |
isSaturdayActive()
Indicate if the day of week schedule is active on Saturday. |
boolean |
isSundayActive()
Indicate if the day of week schedule is active on Sunday. |
boolean |
isThursdayActive()
Indicate if the day of week schedule is active on Thursday. |
boolean |
isTuesdayActive()
Indicate if the day of week schedule is active on Tuesday. |
boolean |
isWednesdayActive()
Indicate if the day of week schedule is active on Wednesday. |
void |
setAllDaysActive()
Sets all days of the week to be active in the day of weekly schedule. |
void |
setFridayActive(boolean fridayActive)
Sets if Friday shall be active in the day of weekly schedule. |
void |
setMondayActive(boolean mondayActive)
Sets if Monday shall be active in the day of weekly schedule. |
void |
setSaturdayActive(boolean saturdayActive)
Sets if Saturday shall be active in the day of weekly schedule. |
void |
setSundayActive(boolean sundayActive)
Sets if Sunday shall be active in the day of weekly schedule. |
void |
setThursdayActive(boolean thursdayActive)
Sets if Thursday shall be active in the day of weekly schedule. |
void |
setTimeZone(java.util.TimeZone tz)
Sets the time zone for the weekly schedule. |
void |
setTuesdayActive(boolean tuesdayActive)
Sets if Tuesday shall be active in the day of weekly schedule. |
void |
setWednesdayActive(boolean wednesdayActive)
Sets if Wednesday shall be active in the day of weekly schedule. |
Method Detail |
public java.lang.Object clone()
public boolean isActive()
If the current day of week is within the defined schedule this method will return true. If the current day of week is outside the schedule false will be returned.
public java.util.TimeZone getTimeZone()
setTimeZone(java.util.TimeZone)
public void setTimeZone(java.util.TimeZone tz)
If the time zone is not set the local time zone will be used.
tz
- Time zone of the weekly schedule.getTimeZone()
public void setAllDaysActive()
public boolean isMondayActive()
public void setMondayActive(boolean mondayActive)
mondayActive
- If true, Monday will be active in the day of weekly schedule. If false, Monday will not be active.public boolean isTuesdayActive()
public void setTuesdayActive(boolean tuesdayActive)
tuesdayActive
- If true, Tuesday will be active in the day of weekly schedule. If false, Tuesday will not be active.public boolean isWednesdayActive()
public void setWednesdayActive(boolean wednesdayActive)
wednesdayActive
- If true, Wednesday will be active in the day of weekly schedule. If false, Wednesday will not be active.public boolean isThursdayActive()
public void setThursdayActive(boolean thursdayActive)
thursdayActive
- If true, Thursday will be active in the day of weekly schedule. If false, Thursday will not be active.public boolean isFridayActive()
public void setFridayActive(boolean fridayActive)
fridayActive
- If true, Friday will be active in the day of weekly schedule. If false, Friday will not be active.public boolean isSaturdayActive()
public void setSaturdayActive(boolean saturdayActive)
saturdayActive
- If true, Saturday will be active in the day of weekly schedule. If false, Saturday will not be active.public boolean isSundayActive()
public void setSundayActive(boolean sundayActive)
sundayActive
- If true, Sunday will be active in the day of weekly schedule. If false, Sunday will not be active.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |