title: Format date in a specific format
body: <p>I have parsed an RSS feed and I am looking for how to format the date properly.  I am trying to get it to say something like, Wednesday, December 4, 2012.  I am running it through a for loop to generate my data.  Here's the code that I'm using:</p>
  
  <pre><code>Feed = new URL(URLFeed);
  DocumentBuilderFactory dbf= DocumentBuilderFactory.newInstance();
  db = dbf.newDocumentBuilder();
  doc = db.parse(new InputSource(Feed.openStream()));
  doc.getDocumentElement().normalize();
  nodeList = doc.getElementsByTagName("item");
  
  title = new String[nodeList.getLength()];
  pubDate = new String[nodeList.getLength()];
  link = new String[nodeList.getLength()];
  
  for(int i=0;i&lt;nodeList.getLength();i++){
      Node node = nodeList.item(i);
  
      Element fstElmnt = (Element) node;
  
      NodeList titleList = fstElmnt.getElementsByTagName("title");
      Element titleElement = (Element) titleList.item(0);
      titleList = titleElement.getChildNodes();
      title[i] = ((Node) titleList.item(0)).getNodeValue();
  
  
      NodeList pubDateList = fstElmnt.getElementsByTagName("pubDate");
      Element pubDateElement = (Element) pubDateList.item(0);
      pubDateList = pubDateElement.getChildNodes();
      pubDate[i] = ((Node) pubDateList.item(0)).getNodeValue();
  
  
      NodeList linkList = fstElmnt.getElementsByTagName("link");
      Element linkElement = (Element) linkList.item(0);
      linkList = linkElement.getChildNodes();
      link[i] = ((Node) linkList.item(0)).getNodeValue();
  
  }
  </code></pre>
  
  <p>This is what it returns:</p>
  
  <p><img src="https://i.stack.imgur.com/BmSC9.png" alt="Android Date Issue"></p>
  
  <p>How do I format my date properly?</p>