docs: static Predicate<DateValue> countCondition(final int count) {
          return new Predicate<DateValue>() {
              int count_ = count;
  
              public boolean apply(DateValue value) {
                  return --count_ >= 0;
              }
  
              @Override
              public String toString() {
                  return "CountCondition:" + count_;
              }
          };
      }