Package net.sourceforge.processdash.ev.EVSchedule

Examples of net.sourceforge.processdash.ev.EVSchedule.Period


            if (isEditable)
                // this will ensure that the schedule is extended far enough
                // to include the date in question
                tl.getSchedule().saveActualIndirectTime(targetDate, 0);

            Period p = tl.getSchedule().get(targetDate);
            if (p != null && p.getBeginDate() != EVSchedule.A_LONG_TIME_AGO
                    && p.getEndDate(false).after(targetDate)) {
                this.targetPeriod = p;
                this.duration = (p.getEndDate().getTime() - p.getBeginDate()
                        .getTime()) / (double) DateUtils.DAYS;
                if (isEditable) {
                    rowsAreEditable = true;
                    createEditingControls();
                    lockedLabel.addMouseListener(this);
                }
                setTime(p.getPlanDirectTime(), TimeChangeSource.Other);
            }
        }
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.ev.EVSchedule.Period

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.