title: Spring JPA ExampleMatcher compare date condition
body: <p>I'm using Spring JPA and get list of data by using Example Matcher.
  Source code below:</p>
  
  <pre><code>public Page&lt;TranxLog&gt; findAllByConditions(TranxReportFormModel formModel, Pageable page) {
          ExampleMatcher matcher = ExampleMatcher.matching()
                  .withNullHandler(ExampleMatcher.NullHandler.IGNORE)
                  .withStringMatcher(ExampleMatcher.StringMatcher.CONTAINING)
                  .withIgnoreCase()
                  .withIgnoreNullValues();
          Example&lt;TranxLog&gt; example = Example.of(formModel.getTranxLog(), matcher);
          return tranxlogRepository.findAll(example, page);
      }
  </code></pre>
  
  <p>Now, I have search page, which have <code>formDate</code> and <code>toDate</code> and it has to be compared with field <code>DateTime</code> in <code>TranxLog</code>.
  I tried to use <code>.withMatcher()</code> but cannot find a way to compare a date. </p>
  
  <p>Any idea? Thanks.</p>