public boolean isCorrectConsecutiveDate(TaskQualityFormItem item) { if (item.getPassed()) { return (isPassedPreviousItem(item)) && (isLaterToPreviousItemDate(item)); } return item.getDate() == null; }
public boolean isCorrectConsecutivePassed(TaskQualityFormItem item) { return !item.getPassed() || (isPassedPreviousItem(item)); }