net.sf.mpxj
Class AbstractTimephasedWorkNormaliser
java.lang.Object
net.sf.mpxj.AbstractTimephasedWorkNormaliser
- All Implemented Interfaces:
- TimephasedWorkNormaliser
- Direct Known Subclasses:
- MPPAbstractTimephasedWorkNormaliser, MSPDITimephasedWorkNormaliser
public abstract class AbstractTimephasedWorkNormaliser
- extends Object
- implements TimephasedWorkNormaliser
Common implementation detail for normalisation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTimephasedWorkNormaliser
public AbstractTimephasedWorkNormaliser()
normalise
public abstract void normalise(ProjectCalendar calendar,
LinkedList<TimephasedWork> list)
- This method converts the internal representation of timephased
resource assignment data used by MS Project into a standardised
format to make it easy to work with.
- Specified by:
normalise in interface TimephasedWorkNormaliser
- Parameters:
calendar - current calendarlist - list of assignment data
mergeSameWork
protected void mergeSameWork(LinkedList<TimephasedWork> list)
- Merges individual days together into time spans where the
same work is undertaken each day.
- Parameters:
list - assignment data
convertToHours
protected void convertToHours(LinkedList<TimephasedWork> list)
- Converts assignment duration values from minutes to hours.
- Parameters:
list - assignment data
Copyright © 2012. All Rights Reserved.