Core API 7.7

net.juniper.smgt.sae.portal
Class ScheduledTime

java.lang.Object
  extended by net.juniper.smgt.sae.portal.ScheduledTime

public class ScheduledTime
extends Object

The ScheduledTime class encapsulates the schedule time that is configured for a Schedule Entry.

Since:
4.0

Constructor Summary
ScheduledTime()
          Default constrcutor
ScheduledTime(TimeSpec firstTimeSpec, TimeSpec secondTimeSpect)
          constrcutor with all the attributes
 
Method Summary
 TimeSpec getTimeSpec(int index)
           
 void handleInputError(short handleType, String msg)
           
 boolean hasTimeInRange(long startDate, long endDate)
           
 void setTimeSpec(TimeSpec spec, int index)
           
 String toString()
          For debugging only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScheduledTime

public ScheduledTime()
Default constrcutor


ScheduledTime

public ScheduledTime(TimeSpec firstTimeSpec,
                     TimeSpec secondTimeSpect)
constrcutor with all the attributes

Method Detail

getTimeSpec

public TimeSpec getTimeSpec(int index)
Returns:
TimeSpec The time spec for the index.

setTimeSpec

public void setTimeSpec(TimeSpec spec,
                        int index)
Parameters:
spec -

hasTimeInRange

public boolean hasTimeInRange(long startDate,
                              long endDate)

toString

public String toString()
For debugging only. Returns a description of this bean.

Overrides:
toString in class Object

handleInputError

public void handleInputError(short handleType,
                             String msg)

Core API 7.7