Java DateTimeFormatter
<p>I am trying to read in a CSV file where I need to parse a certain date value.
However I get a DateTimeParseException I cannot place. </p>

<p>The field I am trying to read is a date field that looks like this:
<code>08-May-2016</code></p>

<p>The code I use:
<code>LocalDate date = LocalDate.parse(row[3], DateTimeFormatter.ofPattern("d-M-yy"));</code> where <code>row[3]</code> is the field I read from the CSV file. </p>

<p>The exception I get: <code>Text '08-May-16' could not be parsed at index 3</code></p>

<p>Am I wrong to think that <code>d-M-yy</code> should be able to read single-digit, double-digit and letter representations for the month of the year?</p>

<p>EDIT: I have tried MMM-MM-M for the month as well as dd-d for the day field. I still get the same exception. </p>