code: public boolean matches(String searchTerm) {
          String title = getTitle();
          if (title != null) {
              return title.toLowerCase().contains(searchTerm.toLowerCase());
          }
  
          return false;
      }
docs: Used by the {@link Calendar#findEntries(String)} to find entries based on
  a text search. This method can be overriden. The default implementation
  compares the given text with the title of the entry (lower case
  comparison).
  
  @param searchTerm the search term
  @return true if the entry matches the given search term