title: Why my pattern("yyyyMM") cannot parse with DateTimeFormatter (java 8)
body: <p>When I using <code>SimpleDateFormat</code>, it can parse.</p>
  
  <pre><code>SimpleDateFormat format = new SimpleDateFormat("yyyyMM");
  format.setLenient(false);
  Date d = format.parse(date);
  </code></pre>
  
  <p>But When I use Java 8 <code>DateTimeFormatter</code>,</p>
  
  <pre><code>DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyyMM");
  LocalDate localDate = LocalDate.parse(date, formatter);
  </code></pre>
  
  <p>it throws</p>
  
  <blockquote>
    <p>java.time.format.DateTimeParseException: Text '201510' could not be parsed: Unable to obtain LocalDate from TemporalAccessor: {Year=2015, MonthOfYear=10},ISO of type java
    .time.format.Parsed</p>
  </blockquote>
  
  <p>String value for date is <code>"201510"</code>.</p>