title: Change String to date using LocalDate in Java
body: <p>I need to change String date="20160101" to "January 1,2016" by using <code>LocalDate</code>.
  Right now, my code looks like this:</p>
  
  <pre><code>DateTimeFormatter formatter = DateTimeFormatter.BASIC_ISO_DATE;
  LocalDate date = LocalDate.parse("20120403", formatter);
  System.out.println(date);
  </code></pre>
  
  <p>The output is: 2016-01-01</p>
  
  <p>Do I need to use a <code>DateTimeFormatterBuilder</code> to do that, or is there an easier way?
  Thank you!</p>