|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectscheduler.generate.LocationAndTime
public class LocationAndTime
Holds a location and the days/times it has been scheduled for use.
| Field Summary | |
|---|---|
protected DaysInWeek |
days
The days of the week which this location is booked |
protected Time |
end
The end time of the booking |
protected Location |
l
The location |
protected Time |
start
The start time of the booking |
| Constructor Summary | |
|---|---|
protected |
LocationAndTime(Location l,
DaysInWeek days,
Time start,
Time end)
Default constructor: fields speak for themselves. |
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Location l
protected DaysInWeek days
protected Time start
protected Time end
| Constructor Detail |
|---|
protected LocationAndTime(Location l,
DaysInWeek days,
Time start,
Time end)
l - The location scheduleddays - The days "l" was scheduledstart - The starting time "l" was scheduled forend - The ending time "l" was scheduled for| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||