title: How do I create a java.time.LocalDate from a date string using the "d. LLLL YYYY" pattern?
body: <p>I'm trying to create a LocalDate object:</p>
  
  <pre><code>LocalDate date = LocalDate.parse(
      "1. juli 2014", 
      DateTimeFormatter.ofPattern("d. LLLL YYYY", new Locale("nb", "NO"));
  </code></pre>
  
  <p>But I get an exception:</p>
  
  <pre><code>java.time.format.DateTimeParseException: Text '1. juli 2014' could not be parsed: 
      Unable to obtain LocalDate from TemporalAccessor: 
      {WeekBasedYear[WeekFields[MONDAY,4]]=2014, MonthOfYear=7, DayOfMonth=1},
      ISO of type java.time.format.Parsed
  at java.time.format.DateTimeFormatter.createError(DateTimeFormatter.java:1919)
  at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1854)
  at java.time.LocalDate.parse(LocalDate.java:400)
  </code></pre>
  
  <p>The exception seems to indicate that the correct data is in there ("juli" is Norwegian and is month number 7).</p>