Example #1
0
  public boolean isCorrectConsecutiveDate(TaskQualityFormItem item) {
    if (item.getPassed()) {
      return (isPassedPreviousItem(item)) && (isLaterToPreviousItemDate(item));
    }

    return item.getDate() == null;
  }
Example #2
0
 public boolean isCorrectConsecutivePassed(TaskQualityFormItem item) {
   return !item.getPassed() || (isPassedPreviousItem(item));
 }