code: public Dateitem findMatchingItem(DateRange range) {
          for (BaseComponent item : getChildren()) {
              if (range.equals(item.getData())) {
                  return (Dateitem) item;
              }
          }
          
          return null;
      }
docs: Searches for a comboitem that has a date range equivalent to the specified range.
  
  @param range The date range to locate.
  @return A comboitem containing the date range, or null if not found.