|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Duration | |
|---|---|
| net.sf.mpxj | |
| net.sf.mpxj.junit | |
| net.sf.mpxj.mpd | |
| net.sf.mpxj.mspdi | |
| net.sf.mpxj.utility | |
| Uses of Duration in net.sf.mpxj |
|---|
| Fields in net.sf.mpxj declared as Duration | |
|---|---|
static Duration |
TimephasedWorkNormaliser.DEFAULT_NORMALIZER_WORK_PER_DAY
|
static Duration |
TimephasedCostNormaliser.DEFAULT_NORMALIZER_WORK_PER_DAY
|
| Methods in net.sf.mpxj that return Duration | |
|---|---|
static Duration |
Duration.convertUnits(double duration,
TimeUnit fromUnits,
TimeUnit toUnits,
double minutesPerDay,
double minutesPerWeek,
double daysPerMonth)
This method provides an approximate conversion between duration units. |
static Duration |
Duration.convertUnits(double duration,
TimeUnit fromUnits,
TimeUnit toUnits,
ProjectHeader defaults)
This method provides an approximate conversion between duration units. |
Duration |
Duration.convertUnits(TimeUnit type,
ProjectHeader defaults)
This method provides an approximate conversion between duration units. |
Duration |
Task.getActualDuration()
The Actual Duration field shows the span of actual working time for a task so far, based on the scheduled duration and current remaining work or completion percentage. |
Duration |
ProjectHeader.getActualDuration()
Retrieves the actual project duration. |
Duration |
Task.getActualOvertimeWork()
Retrieves the actual overtime work value. |
Duration |
ResourceAssignment.getActualOvertimeWork()
Returns the actual overtime work of this resource assignment. |
Duration |
Resource.getActualOvertimeWork()
Retrieve the value of the actual overtime work field. |
Duration |
Task.getActualOvertimeWorkProtected()
Retrieves the actual overtime work protected value. |
Duration |
Resource.getActualOvertimeWorkProtected()
Retrieves the actual overtime work protected duration. |
Duration |
Task.getActualWork()
The Actual Work field shows the amount of work that has already been done by the resources assigned to a task. |
Duration |
ResourceAssignment.getActualWork()
Returns the actual completed work of this resource assignment. |
Duration |
Resource.getActualWork()
Retrieves the Actual Work field contains the amount of work that has already been done for all assignments assigned to a resource. |
Duration |
ProjectHeader.getActualWork()
Retrieves the actual project work duration. |
Duration |
Task.getActualWorkProtected()
Retrieves the actual work protected value. |
Duration |
Resource.getActualWorkProtected()
Retrieves the actual work protected duration. |
Duration |
ResourceAssignment.getBaselineBudgetWork()
Retrieves the baseline budget work value. |
Duration |
ResourceAssignment.getBaselineBudgetWork(int baselineNumber)
Retrieve a baseline value. |
Duration |
Task.getBaselineDuration()
The Baseline Duration field shows the original span of time planned to complete a task. |
Duration |
ProjectHeader.getBaselineDuration()
Retrieves the baseline duration value. |
Duration |
Task.getBaselineDuration(int baselineNumber)
Retrieve a baseline value. |
Duration |
Task.getBaselineWork()
The Baseline Work field shows the originally planned amount of work to be performed by all resources assigned to a task. |
Duration |
ResourceAssignment.getBaselineWork()
Returns the baseline work of this resource assignment. |
Duration |
Resource.getBaselineWork()
Retrieves the Baseline Work value. |
Duration |
ProjectHeader.getBaselineWork()
Retrieves the baseline project work duration. |
Duration |
Task.getBaselineWork(int baselineNumber)
Retrieve a baseline value. |
Duration |
ResourceAssignment.getBaselineWork(int baselineNumber)
Retrieve a baseline value. |
Duration |
Resource.getBaselineWork(int baselineNumber)
Retrieve a baseline value. |
Duration |
ResourceAssignment.getBudgetWork()
Retrieves the budget work value. |
Duration |
ResourceAssignment.getDelay()
Returns the delay for this resource assignment. |
Duration |
Task.getDuration()
The Duration field is the total span of active working time for a task. |
Duration |
RecurringTask.getDuration()
Retrieve the duration of the recurring task. |
Duration |
ProjectHeader.getDuration()
Retrieves the project duration. |
Duration |
ProjectFile.getDuration(Date startDate,
Date endDate)
This method is used to calculate the duration of work between two fixed dates according to the work schedule defined in the named calendar. |
Duration |
ProjectCalendar.getDuration(Date startDate,
Date endDate)
This method is provided to allow an absolute period of time represented by start and end dates into a duration in working days based on this calendar instance. |
Duration |
ResourceAssignment.getDuration(int index)
Retrieve a duration value. |
Duration |
ProjectFile.getDuration(String calendarName,
Date startDate,
Date endDate)
This method is used to calculate the duration of work between two fixed dates according to the work schedule defined in the named calendar. |
Duration |
Task.getDuration1()
The Duration1 through Duration10 fields are custom fields that show any specialized task duration information you want to enter and store separately in your project. |
Duration |
Resource.getDuration1()
Retrieves a duration. |
Duration |
Task.getDuration10()
Retrieves a duration. |
Duration |
Resource.getDuration10()
Retrieves a duration. |
Duration |
Task.getDuration2()
The Duration1 through Duration10 fields are custom fields that show any specialized task duration information you want to enter and store separately in your project. |
Duration |
Resource.getDuration2()
Retrieves a duration. |
Duration |
Task.getDuration3()
The Duration1 through Duration10 fields are custom fields that show any specialized task duration information you want to enter and store separately in your project. |
Duration |
Resource.getDuration3()
Retrieves a duration. |
Duration |
Task.getDuration4()
Retrieves a duration. |
Duration |
Resource.getDuration4()
Retrieves a duration. |
Duration |
Task.getDuration5()
Retrieves a duration. |
Duration |
Resource.getDuration5()
Retrieves a duration. |
Duration |
Task.getDuration6()
Retrieves a duration. |
Duration |
Resource.getDuration6()
Retrieves a duration. |
Duration |
Task.getDuration7()
Retrieves a duration. |
Duration |
Resource.getDuration7()
Retrieves a duration. |
Duration |
Task.getDuration8()
Retrieves a duration. |
Duration |
Resource.getDuration8()
Retrieves a duration. |
Duration |
Task.getDuration9()
Retrieves a duration. |
Duration |
Resource.getDuration9()
Retrieves a duration. |
Duration |
Task.getDurationVariance()
The Duration Variance field contains the difference between the baseline duration of a task and the total duration (current estimate) of a task. |
Duration |
Task.getEnterpriseDuration(int index)
Retrieve an enterprise field value. |
Duration |
ResourceAssignment.getEnterpriseDuration(int index)
Retrieve an enterprise duration value. |
Duration |
Resource.getEnterpriseDuration(int index)
Retrieve an enterprise field value. |
Duration |
Task.getFinishSlack()
Retrieve the finish slack. |
Duration |
Task.getFinishVariance()
Calculate the finish variance. |
Duration |
ResourceAssignment.getFinishVariance()
Calculate the finish variance. |
Duration |
ProjectHeader.getFinishVariance()
Retrieves the project finish variance duration. |
Duration |
Task.getFreeSlack()
The Free Slack field contains the amount of time that a task can be delayed without delaying any successor tasks. |
static Duration |
Duration.getInstance(double duration,
TimeUnit type)
Retrieve an Duration instance. |
static Duration |
Duration.getInstance(int duration,
TimeUnit type)
Retrieve an Duration instance. |
Duration |
Relation.getLag()
This method retrieves the lag duration associated with this relationship. |
Duration |
Task.getLevelingDelay()
Delay , in MPX files as eg '0ed'. |
Duration |
ResourceAssignment.getLevelingDelay()
Retrieves the leveling delay for this resource assignment. |
Duration |
Task.getManualDuration()
Read the manual duration attribute. |
Duration |
Task.getOvertimeWork()
Retrieves the overtime work attribute. |
Duration |
ResourceAssignment.getOvertimeWork()
Returns the overtime work done of this resource assignment. |
Duration |
Resource.getOvertimeWork()
Retrieves the amount of overtime work. |
Duration |
Task.getRegularWork()
Retrieve the amount of regular work. |
Duration |
ResourceAssignment.getRegularWork()
Returns the regular work of this resource assignment. |
Duration |
Resource.getRegularWork()
Retrieve the value of the regular work field. |
Duration |
Task.getRemainingDuration()
The Remaining Duration field shows the amount of time required to complete the unfinished portion of a task. |
Duration |
Task.getRemainingOvertimeWork()
Retrieves the remaining overtime work attribute. |
Duration |
ResourceAssignment.getRemainingOvertimeWork()
Returns the remaining overtime work of this resource assignment. |
Duration |
Resource.getRemainingOvertimeWork()
Retrieve the value of the remaining overtime work field. |
Duration |
Task.getRemainingWork()
The Remaining Work field shows the amount of time, or person-hours, still required by all assigned resources to complete a task. |
Duration |
ResourceAssignment.getRemainingWork()
Returns the remaining work for this resource assignment. |
Duration |
Resource.getRemainingWork()
Gets Remaining Work field value. |
Duration |
Task.getStartSlack()
Retrieve the start slack. |
Duration |
Task.getStartVariance()
Calculate the start variance. |
Duration |
ResourceAssignment.getStartVariance()
Calculate the start variance. |
Duration |
ProjectHeader.getStartVariance()
Retrieves the start variance duration. |
Duration |
Task.getTotalSlack()
The Total Slack field contains the amount of time a task can be delayed without delaying the project's finish date. |
Duration |
Task.getWork()
The Work field shows the total amount of work scheduled to be performed on a task by all assigned resources. |
Duration |
ResourceAssignment.getWork()
Returns the work of this resource assignment. |
Duration |
Resource.getWork()
Gets Work field value. |
Duration |
ProjectHeader.getWork()
Retrieves the project work duration. |
Duration |
ProjectCalendar.getWork(Date startDate,
Date endDate,
TimeUnit format)
This method retrieves a Duration instance representing the amount of work between two dates based on this calendar. |
Duration |
ProjectCalendar.getWork(Date date,
TimeUnit format)
Retrieves the amount of work on a given day, and returns it in the specified format. |
Duration |
Task.getWorkVariance()
The Work Variance field contains the difference between a task's baseline work and the currently scheduled work. |
Duration |
ResourceAssignment.getWorkVariance()
The Work Variance field contains the difference between a task's baseline work and the currently scheduled work. |
Duration |
Resource.getWorkVariance()
Retrieves the work variance. |
| Methods in net.sf.mpxj with parameters of type Duration | |
|---|---|
Relation |
Task.addPredecessor(Task targetTask,
RelationType type,
Duration lag)
This method allows a predecessor relationship to be added to this task instance. |
int |
Duration.compareTo(Duration rhs)
|
Date |
ProjectCalendar.getDate(Date startDate,
Duration duration,
boolean returnNextWorkStart)
Given a start date and a duration, this method calculates the end date. |
Date |
ProjectCalendar.getStartDate(Date finishDate,
Duration duration)
Given a finish date and a duration, this method calculates backwards to the start date. |
boolean |
Task.removePredecessor(Task targetTask,
RelationType type,
Duration lag)
This method allows a predecessor relationship to be removed from this task instance. |
void |
Task.setActualDuration(Duration val)
The Actual Duration field shows the span of actual working time for a task so far, based on the scheduled duration and current remaining work or completion percentage. |
void |
ProjectHeader.setActualDuration(Duration actualDuration)
Sets the actual project duration. |
void |
Task.setActualOvertimeWork(Duration work)
Sets the actual overtime work value. |
void |
ResourceAssignment.setActualOvertimeWork(Duration dur)
Sets the actual overtime work for this resource assignment. |
void |
Resource.setActualOvertimeWork(Duration duration)
Sets the value of the actual overtime work field. |
void |
Task.setActualOvertimeWorkProtected(Duration actualOvertimeWorkProtected)
Sets the actual overtime work protected value. |
void |
Resource.setActualOvertimeWorkProtected(Duration duration)
Sets the actual overtime work protected duration. |
void |
Task.setActualWork(Duration val)
The Actual Work field shows the amount of work that has already been done by the resources assigned to a task. |
void |
ResourceAssignment.setActualWork(Duration val)
Sets the actual completed work for this resource assignment. |
void |
Resource.setActualWork(Duration val)
Sets the Actual Work field contains the amount of work that has already been done for all assignments assigned to a resource. |
void |
ProjectHeader.setActualWork(Duration actualWork)
Sets the actual project work duration. |
void |
Task.setActualWorkProtected(Duration actualWorkProtected)
Sets the actual work protected value. |
void |
Resource.setActualWorkProtected(Duration duration)
Sets the actual work protected duration. |
void |
ResourceAssignment.setBaselineBudgetWork(Duration work)
Sets the baseline budget work value. |
void |
ResourceAssignment.setBaselineBudgetWork(int baselineNumber,
Duration value)
Set a baseline value. |
void |
Task.setBaselineDuration(Duration val)
The Baseline Duration field shows the original span of time planned to complete a task. |
void |
ProjectHeader.setBaselineDuration(Duration baselineDuration)
Sets the baseline project duration value. |
void |
Task.setBaselineDuration(int baselineNumber,
Duration value)
Set a baseline value. |
void |
Task.setBaselineWork(Duration val)
The Baseline Work field shows the originally planned amount of work to be performed by all resources assigned to a task. |
void |
ResourceAssignment.setBaselineWork(Duration val)
Sets the baseline work for this resource assignment. |
void |
Resource.setBaselineWork(Duration val)
Sets the baseline work duration. |
void |
ProjectHeader.setBaselineWork(Duration baselineWork)
Set the baseline project work duration. |
void |
Task.setBaselineWork(int baselineNumber,
Duration value)
Set a baseline value. |
void |
ResourceAssignment.setBaselineWork(int baselineNumber,
Duration value)
Set a baseline value. |
void |
Resource.setBaselineWork(int baselineNumber,
Duration value)
Set a baseline value. |
void |
ResourceAssignment.setBudgetWork(Duration work)
Sets the budget work value. |
void |
ResourceAssignment.setDelay(Duration dur)
Sets the delay for this resource assignment. |
void |
Task.setDuration(Duration val)
The Duration field is the total span of active working time for a task. |
void |
RecurringTask.setDuration(Duration duration)
Set the duration of the recurring task. |
void |
ProjectHeader.setDuration(Duration duration)
Sets the project duration. |
void |
ResourceAssignment.setDuration(int index,
Duration value)
Set a duration value. |
void |
Task.setDuration1(Duration duration)
User defined duration field. |
void |
Resource.setDuration1(Duration duration)
Sets a duration value. |
void |
Task.setDuration10(Duration duration)
User defined duration field. |
void |
Resource.setDuration10(Duration duration)
Sets a duration value. |
void |
Task.setDuration2(Duration duration)
User defined duration field. |
void |
Resource.setDuration2(Duration duration)
Sets a duration value. |
void |
Task.setDuration3(Duration duration)
User defined duration field. |
void |
Resource.setDuration3(Duration duration)
Sets a duration value. |
void |
Task.setDuration4(Duration duration)
User defined duration field. |
void |
Resource.setDuration4(Duration duration)
Sets a duration value. |
void |
Task.setDuration5(Duration duration)
User defined duration field. |
void |
Resource.setDuration5(Duration duration)
Sets a duration value. |
void |
Task.setDuration6(Duration duration)
User defined duration field. |
void |
Resource.setDuration6(Duration duration)
Sets a duration value. |
void |
Task.setDuration7(Duration duration)
User defined duration field. |
void |
Resource.setDuration7(Duration duration)
Sets a duration value. |
void |
Task.setDuration8(Duration duration)
User defined duration field. |
void |
Resource.setDuration8(Duration duration)
Sets a duration value. |
void |
Task.setDuration9(Duration duration)
User defined duration field. |
void |
Resource.setDuration9(Duration duration)
Sets a duration value. |
void |
Task.setDurationVariance(Duration duration)
The Duration Variance field contains the difference between the baseline duration of a task and the forecast or actual duration of the task. |
void |
Task.setEnterpriseDuration(int index,
Duration value)
Set an enterprise field value. |
void |
ResourceAssignment.setEnterpriseDuration(int index,
Duration value)
Set an enterprise duration value. |
void |
Resource.setEnterpriseDuration(int index,
Duration value)
Set an enterprise field value. |
void |
Task.setFinishSlack(Duration duration)
Set the finish slack. |
void |
Task.setFinishVariance(Duration duration)
The Finish Variance field contains the amount of time that represents the difference between a task's baseline finish date and its forecast or actual finish date. |
void |
ResourceAssignment.setFinishVariance(Duration duration)
The Finish Variance field contains the amount of time that represents the difference between a task's baseline finish date and its forecast or actual finish date. |
void |
ProjectHeader.setFinishVariance(Duration finishVariance)
Sets the project finish variance duration. |
void |
Task.setFreeSlack(Duration duration)
The Free Slack field contains the amount of time that a task can be delayed without delaying any successor tasks. |
void |
Task.setLevelingDelay(Duration val)
Set amount of delay as elapsed real time. |
void |
ResourceAssignment.setLevelingDelay(Duration levelingDelay)
Sets the leveling delay for this resource assignment. |
void |
Task.setManualDuration(Duration dur)
Set the manual duration attribute. |
void |
Task.setOvertimeWork(Duration work)
Sets the overtime work attribute. |
void |
ResourceAssignment.setOvertimeWork(Duration overtimeWork)
Sets the overtime work for this resource assignment. |
void |
Resource.setOvertimeWork(Duration overtimeWork)
Sets the amount of overtime work. |
void |
Task.setRegularWork(Duration regularWork)
Set the amount of regular work. |
void |
ResourceAssignment.setRegularWork(Duration dur)
Sets the regular work for this resource assignment. |
void |
Resource.setRegularWork(Duration duration)
Set the value of the regular work field. |
void |
Task.setRemainingDuration(Duration val)
The Remaining Duration field shows the amount of time required to complete the unfinished portion of a task. |
void |
Task.setRemainingOvertimeWork(Duration work)
Sets the remaining overtime work attribute. |
void |
ResourceAssignment.setRemainingOvertimeWork(Duration dur)
Sets the remaining overtime work for this resource assignment. |
void |
Resource.setRemainingOvertimeWork(Duration duration)
Sets the value of the remaining overtime work field. |
void |
Task.setRemainingWork(Duration val)
The Remaining Work field shows the amount of time, or person-hours, still required by all assigned resources to complete a task. |
void |
ResourceAssignment.setRemainingWork(Duration remainingWork)
Sets the remaining work for this resource assignment. |
void |
Resource.setRemainingWork(Duration val)
This field is ignored on import into MS Project. |
void |
Task.setStartSlack(Duration duration)
Set the start slack. |
void |
Task.setStartVariance(Duration val)
The Start Variance field contains the amount of time that represents the difference between a task's baseline start date and its currently scheduled start date. |
void |
ResourceAssignment.setStartVariance(Duration val)
The Start Variance field contains the amount of time that represents the difference between a task's baseline start date and its currently scheduled start date. |
void |
ProjectHeader.setStartVariance(Duration startVariance)
Sets the start variance duration. |
void |
Task.setTotalSlack(Duration val)
The Total Slack field contains the amount of time a task can be delayed without delaying the project's finish date. |
void |
Task.setWork(Duration val)
The Work field shows the total amount of work scheduled to be performed on a task by all assigned resources. |
void |
ResourceAssignment.setWork(Duration dur)
Sets the work for this resource assignment. |
void |
Resource.setWork(Duration val)
This field is ignored on import into MS Project. |
void |
ProjectHeader.setWork(Duration work)
Sets the project work duration. |
void |
Task.setWorkVariance(Duration val)
The Work Variance field contains the difference between a task's baseline work and the currently scheduled work. |
void |
ResourceAssignment.setWorkVariance(Duration val)
The Work Variance field contains the difference between a task's baseline work and the currently scheduled work. |
void |
Resource.setWorkVariance(Duration workVariance)
Sets the work variance. |
| Constructors in net.sf.mpxj with parameters of type Duration | |
|---|---|
Relation(Task sourceTask,
Task targetTask,
RelationType type,
Duration lag)
Default constructor. |
|
| Uses of Duration in net.sf.mpxj.junit |
|---|
| Methods in net.sf.mpxj.junit with parameters of type Duration | |
|---|---|
protected void |
MPXJTestCase.assertEquals(double expectedDuration,
TimeUnit expectedUnits,
Duration duration)
Assert method used to test durations. |
| Uses of Duration in net.sf.mpxj.mpd |
|---|
| Methods in net.sf.mpxj.mpd that return Duration | |
|---|---|
static Duration |
MPDUtility.getAdjustedDuration(ProjectFile file,
int duration,
TimeUnit timeUnit)
Given a duration and the time units for the duration extracted from an MPP file, this method creates a new Duration to represent the given duration. |
static Duration |
MPDUtility.getDuration(double value,
TimeUnit type)
Reads a duration value. |
| Uses of Duration in net.sf.mpxj.mspdi |
|---|
| Methods in net.sf.mpxj.mspdi that return Duration | |
|---|---|
static Duration |
DatatypeConverter.parseDuration(ProjectFile file,
TimeUnit defaultUnits,
String value)
Parse a duration. |
static Duration |
DatatypeConverter.parseDurationInTenthsOfMinutes(ProjectHeader header,
Number value,
TimeUnit targetTimeUnit)
Parse duration represented as tenths of minutes. |
static Duration |
DatatypeConverter.parseDurationInThousanthsOfMinutes(Number value)
Parse duration represented in thousandths of minutes. |
static Duration |
DatatypeConverter.parseDurationInThousanthsOfMinutes(ProjectHeader header,
Number value,
TimeUnit targetTimeUnit)
Parse duration represented in thousandths of minutes. |
| Methods in net.sf.mpxj.mspdi with parameters of type Duration | |
|---|---|
static String |
DatatypeConverter.printDuration(MSPDIWriter writer,
Duration duration)
Print duration. |
static BigDecimal |
DatatypeConverter.printDurationInDecimalThousandthsOfMinutes(Duration duration)
Print duration in thousandths of minutes. |
static BigInteger |
DatatypeConverter.printDurationInIntegerThousandthsOfMinutes(Duration duration)
Print duration in thousandths of minutes. |
static BigInteger |
DatatypeConverter.printDurationInTenthsOfInMinutes(Duration duration)
Print duration in thousandths of minutes. |
static String |
DatatypeConverter.printDurationMandatory(MSPDIWriter writer,
Duration duration)
Print duration. |
static BigInteger |
DatatypeConverter.printDurationTimeUnits(Duration duration,
boolean estimated)
Print duration time units. |
| Uses of Duration in net.sf.mpxj.utility |
|---|
| Methods in net.sf.mpxj.utility that return Duration | |
|---|---|
static Duration |
DateUtility.getVariance(Task task,
Date date1,
Date date2,
TimeUnit format)
This utility method calculates the difference in working time between two dates, given the context of a task. |
| Methods in net.sf.mpxj.utility that return types with arguments of type Duration | |
|---|---|
ArrayList<Duration> |
TimephasedUtility.segmentBaselineWork(ProjectFile file,
List<TimephasedWork> work,
TimescaleUnits rangeUnits,
ArrayList<DateRange> dateList)
This is the main entry point used to convert the internal representation of timephased baseline work into an external form which can be displayed to the user. |
ArrayList<Duration> |
TimephasedUtility.segmentWork(ProjectCalendar projectCalendar,
List<TimephasedWork> work,
TimescaleUnits rangeUnits,
ArrayList<DateRange> dateList)
This is the main entry point used to convert the internal representation of timephased work into an external form which can be displayed to the user. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||