|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ace.moab.api.reservation.ReservationTime
public class ReservationTime
Constructor Summary | |
---|---|
ReservationTime()
|
Method Summary | |
---|---|
java.lang.String |
getDays()
Get the days that a weekly reservation should run on |
int |
getDepth()
Get the reservation's frequency depth |
com.moab.api.statistics.TimeWindow |
getFrequency()
Return the frequency (Period) of the standing reservation |
java.lang.String |
getMoabEndTime()
Returns the end time of a reservation in the format that is useful for moab's Standing Reservations. |
java.lang.String |
getMoabStartTime()
Returns the start time of a reservation in the format that is useful for moab's Standing Reservations. |
static void |
setDayandTime(com.moab.api.scheduler.MoabTime moabTime,
java.lang.String text)
Set a calendar's Day, Hour, Minute, and Second values from an input String |
void |
setDays(java.lang.String days)
Set the days that a weekly reservation should run on |
void |
setDepth(int depth)
Set the reservation's frequency depth |
void |
setEndTime(com.moab.api.scheduler.MoabTime endTime)
Set the time of day and possibly the day of the week to end the reservation |
void |
setFrequency(com.moab.api.statistics.TimeWindow frequency)
Set the frequency (Period) of the standing reservation |
void |
setStartTime(com.moab.api.scheduler.MoabTime startTime)
Set the time of day and possibly the day of the week to start the reservation |
static void |
setTimeOfDay(com.moab.api.scheduler.MoabTime moabTime,
java.lang.String text)
Formats input text into a calendar object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReservationTime()
Method Detail |
---|
public java.lang.String getMoabStartTime()
public java.lang.String getMoabEndTime()
public static void setTimeOfDay(com.moab.api.scheduler.MoabTime moabTime, java.lang.String text)
text
- text in format HH:MM:SS AM/PMCalendar
- object with correct values setpublic static void setDayandTime(com.moab.api.scheduler.MoabTime moabTime, java.lang.String text)
text
- String in format moabTime
- Calendar object to set correct valuespublic com.moab.api.statistics.TimeWindow getFrequency()
public void setFrequency(com.moab.api.statistics.TimeWindow frequency)
frequency
- the frequency (Period) of the standing reservationpublic void setStartTime(com.moab.api.scheduler.MoabTime startTime)
startTime
- the time of day and possibly the day of the week to start the reservationpublic void setEndTime(com.moab.api.scheduler.MoabTime endTime)
weekEnd
- the time of day and possibly the day of the week to end the reservationpublic java.lang.String getDays()
public void setDays(java.lang.String days)
days
- the days that a weekly reservation should run on
in a comma delimited listpublic int getDepth()
public void setDepth(int depth)
depth
- the reservation's frequency depth
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |