title: how to write date using tokenizer?
body: <p>The following code here returns the date in the form "Day, Date, Month, Year".<br>
  The date currently entered in would return as Saturday 28 Dec 2013. However, I want to tokenize this and print the 4 parts out on 4 separate lines, starting with month, then date, then year, then day. What's the best way to do this?</p>
  
  <pre><code>import java.text.SimpleDateFormat;
  import java.util.Date;
  
  class Day{
  
      public static void main( String[] args ){
  
      SimpleDateFormat newDateFormat = new SimpleDateFormat("dd/MM/yyyy");
  
      try {
          Date myDate = newDateFormat.parse("28/12/2013");
          newDateFormat.applyPattern("EEEE dd MMM yyyy");
          String isDate = newDateFormat.format(myDate);
          System.out.println(isDate);
      } catch (Exception e) {
          System.out.println("Error. Date is in the wrong format.");
      }
      }
  }
  </code></pre>