title: DateTimeFormatter.ofPattern exceptions (java 8.0)
body: <p>I don't understand the logic of this method, </p>
  
  <p>Here is what I wrote : </p>
  
  <pre><code>LocalDate facture = LocalDate.parse("15/03/2010", DateTimeFormatter.ofPattern("DD/MM/YYYY"));
  
      System.out.println(facture);
  </code></pre>
  
  <p>Here is what I get : </p>
  
  <pre><code>   Exception in thread "main" java.time.format.DateTimeParseException: Text '15/03/2010' could not be parsed: Unable to obtain LocalDate from TemporalAccessor: {MonthOfYear=3, DayOfYear=15, WeekBasedYear[WeekFields[MONDAY,4]]=2010},ISO of type java.time.format.Parsed
      at java.time.format.DateTimeFormatter.createError(DateTimeFormatter.java:1920)
      at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1855)
      at java.time.LocalDate.parse(LocalDate.java:400)
      at tabeauDeBord.main(tabeauDeBord.java:21)
  Caused by: java.time.DateTimeException: Unable to obtain LocalDate from TemporalAccessor: {MonthOfYear=3, DayOfYear=15, WeekBasedYear[WeekFields[MONDAY,4]]=2010},ISO of type java.time.format.Parsed
      at java.time.LocalDate.from(LocalDate.java:368)
      at java.time.format.Parsed.query(Parsed.java:226)
      at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1851)
      ... 2 more
  </code></pre>
  
  <p>What did I miss? </p>
  
  <p>Best regards, </p>