title: Date object in Cucumber
body: <p>I have a cucumber stepdef like this</p>
  
  <pre><code>Given the date of &lt;date&gt;
  When blah blah
  Then x y and z
  Examples:
  |2015-01-01|
  |2045-01-01|
  </code></pre>
  
  <p>When I generate stepdefs off of this, I get <code>@Given("^the date of (\\d+)-(\\d+)-(\\d+)$")</code>
  And the method is generated with three integers as parameters.
  How can I tell Cucumber to treat it like a Java.Time LocalDate? Is there a way to create a mapper that Cucumber will understand? Or at the very least, is there a way to treat that date object as a string instead of three numbers?</p>