|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.management.oss.impl.pm.util.WeeklyScheduleImpl
Title: JSR090 Reference Implementation Description: Copyright: Copyright 2001 Ericsson Radio Systems AB Company: Ericsson
| Constructor Summary | |
WeeklyScheduleImpl()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WeeklyScheduleImpl()
| Method Detail |
public java.lang.Object clone()
WeeklySchedule
clone in interface WeeklySchedulepublic 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.
isActive in interface WeeklySchedulepublic java.util.TimeZone getTimeZone()
getTimeZone in interface WeeklyScheduleWeeklySchedule.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.
setTimeZone in interface WeeklyScheduletz - Time zone of the weekly schedule.WeeklySchedule.getTimeZone()public void setAllDaysActive()
setAllDaysActive in interface WeeklySchedulepublic boolean isMondayActive()
isMondayActive in interface WeeklySchedulepublic void setMondayActive(boolean mondayActive)
setMondayActive in interface WeeklySchedulemondayActive - If true, Monday will be active in the day of weekly schedule. If false, Monday will not be active.public boolean isTuesdayActive()
isTuesdayActive in interface WeeklySchedulepublic void setTuesdayActive(boolean tuesdayActive)
setTuesdayActive in interface WeeklyScheduletuesdayActive - If true, Tuesday will be active in the day of weekly schedule. If false, Tuesday will not be active.public boolean isWednesdayActive()
isWednesdayActive in interface WeeklySchedulepublic void setWednesdayActive(boolean wednesdayActive)
setWednesdayActive in interface WeeklySchedulewednesdayActive - If true, Wednesday will be active in the day of weekly schedule. If false, Wednesday will not be active.public boolean isThursdayActive()
isThursdayActive in interface WeeklySchedulepublic void setThursdayActive(boolean thursdayActive)
setThursdayActive in interface WeeklySchedulethursdayActive - If true, Thursday will be active in the day of weekly schedule. If false, Thursday will not be active.public boolean isFridayActive()
isFridayActive in interface WeeklySchedulepublic void setFridayActive(boolean fridayActive)
setFridayActive in interface WeeklySchedulefridayActive - If true, Friday will be active in the day of weekly schedule. If false, Friday will not be active.public boolean isSaturdayActive()
isSaturdayActive in interface WeeklySchedulepublic void setSaturdayActive(boolean saturdayActive)
setSaturdayActive in interface WeeklySchedulesaturdayActive - If true, Saturday will be active in the day of weekly schedule. If false, Saturday will not be active.public boolean isSundayActive()
isSundayActive in interface WeeklySchedulepublic void setSundayActive(boolean sundayActive)
setSundayActive in interface WeeklySchedulesundayActive - 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 | ||||||||||