title: How to parse month full form string using DateFormat in Java?
body: <p>I tried this:</p>
  
  <pre><code>DateFormat fmt = new SimpleDateFormat("MMMM dd, yyyy");
  Date d = fmt.parse("June 27, 2007");
  </code></pre>
  
  <p>error:</p>
  
  <p><code>Exception in thread "main" java.text.ParseException: Unparseable date: "June 27,  2007"</code></p>
  
  <p>The java docs say I should use four characters to match the full form. 
  I'm only able to use <em>MMM</em> successfully with abbreviated months like <em>"Jun"</em> but i need to match full form.</p>
  
  <blockquote>
    <p>Text:  For formatting, if the number
    of pattern letters is 4 or more, the
    full form is used; otherwise a short
    or abbreviated form is used if
    available. For parsing, both forms are
    accepted, independent of the number of
    pattern letters.</p>
  </blockquote>
  
  <p><a href="https://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html" rel="noreferrer">https://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html</a></p>