title: How to use Junit5 to receive the LocalDate value as params?
body: <p>Last few days I learned the Junit5 in offical. And Recently I want to use it as my test instance,But I meet a difficulty.</p>
  <p>I try to let LocalDate value as the params,But I have tried all of my knowledge to do it and all failed.</p>
  <p>this is my code</p>
  <pre class="lang-java prettyprint-override"><code>    @ParameterizedTest
  @CsvSource({&quot;2020-2-2,2010-2-3&quot;})
      void t5_1(LocalDate a, LocalDate b) {
          final Duration between = Duration.between(a, b);
          System.out.println(between.toDays());
      }
      static Stream&lt;Arguments&gt;timeArrayProvider() {
          return Stream.of(
                  Arguments.of((Object) new String[]{&quot;2020-2-2&quot;,&quot;2010-2-3&quot;})
          );
      }
  
  </code></pre>
  <p>If you know it ,Thank you in advance.</p>