Remove deprecated methods on BaseCalendar
FEA: ItEr60S19TimeUnitDataType
This commit is contained in:
parent
80aebef0db
commit
84525951d3
1 changed files with 2 additions and 4 deletions
|
|
@ -534,11 +534,9 @@ public class BaseCalendar extends IntegrationEntity implements IWorkHours {
|
|||
}
|
||||
return DayType.ANCESTOR_EXCEPTION;
|
||||
}
|
||||
|
||||
if (getCapacityAt(date) == 0) {
|
||||
if (getCapacityDurationAt(date).isZero()) {
|
||||
return DayType.ZERO_HOURS;
|
||||
}
|
||||
|
||||
return DayType.NORMAL;
|
||||
}
|
||||
|
||||
|
|
@ -739,7 +737,7 @@ public class BaseCalendar extends IntegrationEntity implements IWorkHours {
|
|||
Set<LocalDate> result = new HashSet<LocalDate>();
|
||||
for (LocalDate current = init; current.compareTo(end) <= 0; current = current
|
||||
.plusDays(1)) {
|
||||
if (getCapacityAt(current) == 0) {
|
||||
if (getCapacityDurationAt(current).isZero()) {
|
||||
result.add(current);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue