public static void addAC(ProjectUser projectUser, double value) { if (!Double.isNaN(value)) { double tmp = projectUser.getActualCost(); tmp += value; projectUser.setActualCost(round(tmp)); } }
public static void addPV(ProjectUser projectUser, double value) { if (!Double.isNaN(value)) { double tmp = projectUser.getPlannedValue(); tmp += value; projectUser.setPlannedValue(round(tmp)); } }