|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.sc.calendar.Event
com.webmethods.sc.calendar.Workday
public class Workday
Workday event. Respresents recurring timeslot at the given weekday
Field Summary |
---|
Fields inherited from class com.webmethods.sc.calendar.Event |
---|
EVENT_TYPE_BUSY, EVENT_TYPE_BUSY_TENTATIVE, EVENT_TYPE_HOLIDAY, EVENT_TYPE_OUT_OF_THE_OFFICE, EVENT_TYPE_TIMEOFF, EVENT_TYPE_WORKDAY |
Constructor Summary | |
---|---|
Workday()
Default constructor |
|
Workday(int day,
int startHour,
int startMinute,
int endHour,
int endMinute)
Creates a workday for given day of the week and timeslot |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int |
getDay()
Returns weekday for this Workday |
int |
getEndHour()
Returns end hour of Workday timeslot |
int |
getEndMinute()
Returns end minute of Workday timeslot |
int |
getStartHour()
Returns start hour for Workday timeslot |
int |
getStartMinute()
Returns start monite for Workday timeslot |
boolean |
isRecurring()
Returns if this workday has a weekly recurrence (default=true) |
void |
setDay(int day)
Sets weekday for this Workday |
void |
setEndHour(int endHour)
Sets end hour of Workday timeslot |
void |
setEndMinute(int endMinute)
Sets end minute of Workday timeslot |
void |
setRecurring(boolean isRecurring)
Sets recurrence for this Workday |
void |
setStartHour(int startHour)
Sets start hour for Workday timeslot |
void |
setStartMinute(int startMinute)
Sets start minute for Workday timeslot |
Methods inherited from class com.webmethods.sc.calendar.Event |
---|
getName, getType, setName, setType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Workday()
public Workday(int day, int startHour, int startMinute, int endHour, int endMinute)
day
- of week. See Calendar
startHour
- start hour for workday timeslotstartMinute
- start minute for workday timeslotendHour
- end hour for workday timeslotendMinute
- end monute for workday timeslotMethod Detail |
---|
public int getDay()
public void setDay(int day)
day
- public boolean isRecurring()
public void setRecurring(boolean isRecurring)
public int getEndHour()
public void setEndHour(int endHour)
public int getEndMinute()
public void setEndMinute(int endMinute)
public int getStartHour()
public void setStartHour(int startHour)
public int getStartMinute()
public void setStartMinute(int startMinute)
public boolean equals(Object obj)
equals
in class Event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |