Add documentation for method
FEA: ItEr70S04BugFixing
This commit is contained in:
parent
4bbd1ed59a
commit
94d89fc226
1 changed files with 19 additions and 1 deletions
|
|
@ -33,7 +33,25 @@ public interface IAllocatable extends IAllocateResourcesPerDay {
|
|||
|
||||
public IAllocateResourcesPerDay resourcesPerDayFromEndUntil(LocalDate start);
|
||||
|
||||
public IAllocateHoursOnInterval onInterval(LocalDate start, LocalDate end);
|
||||
/**
|
||||
* <p>
|
||||
* It does the allocation in the intersection of the underlying task's
|
||||
* bounds and the interval specified. This ensures it can't modify the start
|
||||
* and end of the task. The start and end of the allocation can grow, but
|
||||
* they can't be shrunk.
|
||||
* </p>
|
||||
* <p>
|
||||
* Putting it in another way: This method can't be used to expand an
|
||||
* allocation beyond the task's bounds.
|
||||
* </p>
|
||||
*
|
||||
* @param startInclusive
|
||||
* @param endExclusive
|
||||
* @return an object which can be used to allocate hours on the interval
|
||||
* specified
|
||||
*/
|
||||
public IAllocateHoursOnInterval onInterval(LocalDate startInclusive,
|
||||
LocalDate endExclusive);
|
||||
|
||||
public IAllocateHoursOnInterval fromStartUntil(LocalDate endExclusive);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue