Add a helper method to test if an instance of SumChargedEffort is zero.
FEA: ItEr75S27PerProjectDashboard
This commit is contained in:
parent
b09834e144
commit
8409f497d5
1 changed files with 4 additions and 0 deletions
|
|
@ -70,4 +70,8 @@ public class SumChargedEffort extends BaseEntity {
|
|||
return directChargedEffort.plus(indirectChargedEffort);
|
||||
}
|
||||
|
||||
public boolean isZero() {
|
||||
return directChargedEffort.isZero() && indirectChargedEffort.isZero();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue