< < E-NEF > >
Prog. Perl | Art Roman | Voyager | Cartes ()
                  dragon                     e-nef                 Plan du Site
Contact
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 :

  1. MeetingProposal
  2. DateHourProposal
  3. RangeProposal
  4. Meeting

Author:
Marc-Aurèle DARCHE
See Also:
MeetingProposal, DateHourProposal, Meeting, ObjectTest

Constructor Index

 o RangeProposal()
 o RangeProposal(int)
The ranges are from 800 (08H00) to 2200 (22H00) and last 30 minutes.

Method Index

 o getDayRange(int)
 o getRange()
 o getRangeSize()
 o main(String[])
 o setMeeting(Date, DateHourProposal, int)
 o toString()

Constructors

 o RangeProposal
 public RangeProposal()
 o 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.

Methods

 o setMeeting
 public void setMeeting(Date fromDate,
                        DateHourProposal dhp,
                        int duration) throws IOException
 o getRange
 public int[] getRange()
 o getDayRange
 public int getDayRange(int n)
 o getRangeSize
 public int getRangeSize()
 o toString
 public String toString()
Overrides:
toString in class Object
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index
© Copyright 1998-2008 Emmanuel PIERRE. Libre reproduction sous Licence LLDDv1.
Pour tout commentaire, webmaster@e-nef.com
Dernière MaJ 31/01/2018

Valid XHTML 1.0!

No Patents/