Core API 4.3

net.juniper.smgt.sae.portal
Class TimeSpec

java.lang.Object
  |
  +--net.juniper.smgt.sae.portal.TimeSpec

public class TimeSpec
extends Object

The TimeSpec class encapsulates the time specification used in ScheduledTime

Since:
4.1
See Also:
ScheduledTime

Constructor Summary
TimeSpec()
          Default constrcutor
TimeSpec(long date)
          Constrcutor using a date
TimeSpec(String year, String month, String dayOfMonth, String dayOfWeek, String hour, String minute, String timeZone)
          Constrcutor with all the time spec attributes
TimeSpec(net.juniper.smgt.sae.time.TimeSpec aTimeSpec)
          Constrcutor using portal TimeSpec
 
Method Summary
 String getDayOfMonth()
           
 String getDayOfWeek()
           
 net.juniper.smgt.sae.time.TimeSpec getDelegateTimeSpec()
          For internal use.
 String getHour()
           
 String getMinute()
           
 String getMonth()
           
 String getTimeZone()
           
 String getYear()
           
 void setDayOfMonth(String dayOfMonth)
           
 void setDayOfWeek(String dayOfWeek)
           
 void setHour(String hour)
           
 void setMinute(String minute)
           
 void setMonth(String month)
           
 void setTimeZone(String timeZone)
           
 void setYear(String year)
           
 String toString()
          For debugging only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeSpec

public TimeSpec()
Default constrcutor


TimeSpec

public TimeSpec(String year,
                String month,
                String dayOfMonth,
                String dayOfWeek,
                String hour,
                String minute,
                String timeZone)
Constrcutor with all the time spec attributes


TimeSpec

public TimeSpec(long date)
Constrcutor using a date


TimeSpec

public TimeSpec(net.juniper.smgt.sae.time.TimeSpec aTimeSpec)
Constrcutor using portal TimeSpec

Method Detail

getYear

public String getYear()
Returns:
String The year.

getMonth

public String getMonth()
Returns:
String The month.

getDayOfMonth

public String getDayOfMonth()
Returns:
String The day of the month.

getDayOfWeek

public String getDayOfWeek()
Returns:
String The day of the week.

getHour

public String getHour()
Returns:
String The hour.

getMinute

public String getMinute()
Returns:
String The minute.

getTimeZone

public String getTimeZone()
Returns:
String The time zone.

setYear

public void setYear(String year)

setMonth

public void setMonth(String month)

setDayOfMonth

public void setDayOfMonth(String dayOfMonth)

setDayOfWeek

public void setDayOfWeek(String dayOfWeek)

setHour

public void setHour(String hour)

setMinute

public void setMinute(String minute)

setTimeZone

public void setTimeZone(String timeZone)

getDelegateTimeSpec

public net.juniper.smgt.sae.time.TimeSpec getDelegateTimeSpec()
For internal use. Provide the delegate time spec


toString

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

Overrides:
toString in class Object

Core API 4.3