Remove other allocation methods with LocalDate parameters

FEA: ItEr77S04BugFixing
This commit is contained in:
Óscar González Fernández 2012-11-12 17:38:49 +01:00 committed by Manuel Rego Casasnovas
parent 0ba4790c00
commit 32a71e85ee
3 changed files with 0 additions and 44 deletions

View file

@ -78,16 +78,6 @@ public interface IAllocatable extends IAllocateResourcesPerDay {
public IAllocateEffortOnInterval onInterval(IntraDayDate start,
IntraDayDate end);
/**
* It allocates the effort specified on the interval from the start, i.e.
* first day not consolidated to the specified end. All previous assignments
* are removed, but the consolidated ones.
*
* @param endExclusive
* @return
*/
public IAllocateEffortOnInterval fromStartUntil(LocalDate endExclusive);
/**
* It allocates the effort specified on the interval from the start, i.e.
* first day not consolidated to the specified end. All previous assignments
@ -98,17 +88,6 @@ public interface IAllocatable extends IAllocateResourcesPerDay {
*/
public IAllocateEffortOnInterval fromStartUntil(IntraDayDate end);
/**
* It allocates the effort specified on the interval from the end until the
* start. Being the start the maximum of the provided start and the first
* not consolidated day. All previous assignments are removed, but the
* consolidated ones.
*
* @param endExclusive
* @return
*/
public IAllocateEffortOnInterval fromEndUntil(LocalDate start);
/**
* It allocates the effort specified on the interval from the end until the
* start. Being the start the maximum of the provided start and the first

View file

@ -895,13 +895,6 @@ public abstract class ResourceAllocation<T extends DayAssignment> extends
interval.resetAssignments(assignments);
}
@Override
public IAllocateEffortOnInterval fromStartUntil(final LocalDate end) {
final AllocationInterval interval = new AllocationInterval(
getStartSpecifiedByTask(), IntraDayDate.startOfDay(end));
return getIAllocateEffortOnInterval(interval);
}
@Override
public IAllocateEffortOnInterval fromStartUntil(final IntraDayDate end) {
final AllocationInterval interval = new AllocationInterval(
@ -936,12 +929,6 @@ public abstract class ResourceAllocation<T extends DayAssignment> extends
};
}
@Override
public IAllocateEffortOnInterval fromEndUntil(final LocalDate start) {
return fromEndUntil(IntraDayDate.startOfDay(start));
}
@Override
public IAllocateEffortOnInterval fromEndUntil(IntraDayDate start) {
final AllocationInterval interval = new AllocationInterval(start,

View file

@ -178,21 +178,11 @@ public class SpecificResourceAllocation extends
return allocator.resourcesPerDayFromEndUntil(start);
}
@Override
public IAllocateEffortOnInterval fromStartUntil(LocalDate endExclusive) {
return new SpecificAssignmentsAllocator().fromStartUntil(endExclusive);
}
@Override
public IAllocateEffortOnInterval fromStartUntil(IntraDayDate end) {
return new SpecificAssignmentsAllocator().fromStartUntil(end);
}
@Override
public IAllocateEffortOnInterval fromEndUntil(LocalDate start) {
return new SpecificAssignmentsAllocator().fromEndUntil(start);
}
@Override
public IAllocateEffortOnInterval fromEndUntil(IntraDayDate start) {
return new SpecificAssignmentsAllocator().fromEndUntil(start);