title: String to Calendar object
body: <p>Here is my target format: </p>
  
  <blockquote>
    <p>19 AUG 2011</p>
  </blockquote>
  
  <p>And I try to convert this string to Calendar object by following code, but variable "date" remains null..</p>
  
  <pre><code>SimpleDateFormat formatter ; 
          Date date = null ; 
          formatter = new SimpleDateFormat("dd MMM yyyy");
          try {
           date = formatter.parse(returnDate);
      } catch (ParseException e) {            
          e.printStackTrace();
      } 
          Calendar cal=Calendar.getInstance();
          cal.setTime(date);
  </code></pre>
  
  <p>Does anyone know what's going wrong? Thank You.</p>
  
  <p>FYI, exception msg:</p>
  
  <blockquote>
    <p>Unparseable date: "19 Aug 2011"   at java.text.DateFormat.parse(Unknown
    Source)</p>
  </blockquote>
  
  <p>But I don't think it is useful...</p>