LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.struts.gantt
Class LyStrutsGanttElement._LyPeriod

java.lang.Object
  extended by leon.view.web.struts.gantt.LyStrutsGanttElement._LyPeriod
All Implemented Interfaces:
java.lang.Comparable<LyStrutsGanttElement._LyPeriod>
Enclosing class:
LyStrutsGanttElement

public static class LyStrutsGanttElement._LyPeriod
extends java.lang.Object
implements java.lang.Comparable<LyStrutsGanttElement._LyPeriod>

This class implements the common behavior for Period objects for the struts viewer.

PERIOD: Period
A period allows dividing an interval of a Gantt planning into several sub-parts. It is described by a begin date and an end date


Constructor Summary
LyStrutsGanttElement._LyPeriod(java.util.Date beginDate, java.util.Date endDate)
          Constructor.
 
Method Summary
 int compareTo(LyStrutsGanttElement._LyPeriod period)
          Compare this period to the object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LyStrutsGanttElement._LyPeriod

public LyStrutsGanttElement._LyPeriod(java.util.Date beginDate,
                                      java.util.Date endDate)
Constructor.

Parameters:
beginDate - the period begin date
endDate - the period end date
Method Detail

compareTo

public int compareTo(LyStrutsGanttElement._LyPeriod period)
Compare this period to the object.

Specified by:
compareTo in interface java.lang.Comparable<LyStrutsGanttElement._LyPeriod>
Parameters:
object - the oject to compare
Returns:
1 if the object equals this period, else 0.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com