code: @Programmatic
      public List<Note> findInDateRange(
              final LocalDate startDate,
              final LocalDate endDate) {
          return repositoryService.allMatches(
                  new QueryDefault<>(
                          Note.class,
                          "findInDateRange",
                          "startDate", startDate,
                          "endDate", endDate));
      }
docs: region > findInDateRange (programmatic)