leon.view.web.struts.gantt
Class LyStrutsGanttElement._LyPeriod
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LyStrutsGanttElement._LyPeriod
public LyStrutsGanttElement._LyPeriod(java.util.Date beginDate,
java.util.Date endDate)
- Constructor.
- Parameters:
beginDate
- the period begin dateendDate
- the period end date
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.
Website: W4 S.A., contact us: support@w4global.com