All Packages Class Hierarchy This Package Previous Next Index
Class orchid.object.RangeProposal
java.lang.Object
|
+----orchid.object.RangeProposal
- public class RangeProposal
- extends Object
- implements Serializable
A class used to propose the initiator agent a range of
possible time slots for the meeting.
Time slots range from the first to the last proposed dates
for the meeting.
A range proposal looks like:
0 0 0 1020 1044480 0 0 0 0 16320 0 0
The objects to arrange a meeting are used in this order :
- MeetingProposal
- DateHourProposal
- RangeProposal
- Meeting
- Author:
- Marc-Aurèle DARCHE
- See Also:
- MeetingProposal, DateHourProposal, Meeting, ObjectTest
-
RangeProposal()
-
-
RangeProposal(int)
- The ranges are from 800 (08H00) to 2200 (22H00) and last 30 minutes.
-
getDayRange(int)
-
-
getRange()
-
-
getRangeSize()
-
-
main(String[])
-
-
setMeeting(Date, DateHourProposal, int)
-
-
toString()
-
RangeProposal
public RangeProposal()
RangeProposal
public RangeProposal(int numOfDays)
- The ranges are from 800 (08H00) to 2200 (22H00) and last 30 minutes.
( 22 - 8 ) x 2 = 14 x 2 = 28
The range proposal is initialized with zeros and is later filled
with numbers corresponding to DateHourProposals.
setMeeting
public void setMeeting(Date fromDate,
DateHourProposal dhp,
int duration) throws IOException
getRange
public int[] getRange()
getDayRange
public int getDayRange(int n)
getRangeSize
public int getRangeSize()
toString
public String toString()
- Overrides:
- toString in class Object
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index