title: converting date from one format to another does not work
body: <p>I have a date with this format: Sun Oct 19 01:00:00 ADT 2014  </p>
  
  <p>and I need to convert it to the following format but I cannot,</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    // The test string
      String str = "Sun Oct 19 01:00:00 ADT 2014";
  
      // Formatter for the input date
      final DateTimeFormatter inputFormat = 
      DateTimeFormatter.ofPattern("EEE MMM dd HH:mm:ss zzz yyyy");
  
     // The parsed date
     final LocalDateTime parsed = LocalDateTime.parse(str, inputFormat);
  
         // The output format(s). Specify the one you need
      final DateTimeFormatter outputFormat1 = DateTimeFormatter.ofPattern("yyyy/MM/dd");
       final DateTimeFormatter outputFormat2 = DateTimeFormatter.ofPattern("yyyy-MM-dd");
  
    // Print
      System.out.println(outputFormat1.format(parsed)); // -&gt; 2014/10/21
        System.out.println(outputFormat2.format(parsed)); // -&gt; 2014-10-21
  </code></pre>
  
  <p>But it is not working at all and I am stuck with this from morning and really do not know how to solve it, Does anyone have any idea?</p>