|
|||||||||||
| 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.DailyScheduleImpl
Title: JSR090 Reference Implementation Description: Copyright: Copyright 2001 Ericsson Radio Systems AB Company: Ericsson
| Constructor Summary | |
DailyScheduleImpl()
|
|
| Method Summary | |
java.lang.Object |
clone()
Deep copy of this instance. |
java.util.Calendar[] |
getStartTimes()
Returns the start times when the daily schedule shall be active. |
java.util.Calendar[] |
getStopTimes()
Returns the stop times when the daily schedule shall not be active. |
boolean |
isActive()
Checks if the schedule is active or not. |
void |
setStartTimes(java.util.Calendar[] start)
Sets the start times when the daily schedule shall be active. |
void |
setStopTimes(java.util.Calendar[] stop)
Sets the stop times when the daily schedule shall not be active. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DailyScheduleImpl()
| Method Detail |
public java.lang.Object clone()
DailySchedule
clone in interface DailySchedulepublic boolean isActive()
If the current time is within the defined schedule this method will return true. If the current time is outside the schedule false will be returned.
isActive in interface DailySchedulepublic java.util.Calendar[] getStartTimes()
getStartTimes in interface DailyScheduleDailySchedule.setStartTimes(java.util.Calendar[])public void setStartTimes(java.util.Calendar[] start)
setStartTimes in interface DailySchedulestart - Array of start times which defines when the daily schedule shall be active.DailySchedule.getStartTimes()public java.util.Calendar[] getStopTimes()
getStopTimes in interface DailyScheduleDailySchedule.setStopTimes(java.util.Calendar[])public void setStopTimes(java.util.Calendar[] stop)
setStopTimes in interface DailySchedulestop - Array of stop times which defines when the daily schedule shall not be active.DailySchedule.getStopTimes()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||