What is the SimpleDateFormat pattern that parses like the deprecated String constructor for Date?
<p>I have some code that looks like <code>"Sat May 12 04:46:05 EDT 2012"</code> that is currently being parsed by the <code>java.util.Date</code>'s <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html#Date%28java.lang.String%29" rel="nofollow"><code>Date(String s)</code></a> constructor. However, now I am getting a warning in my IDE since it says that it is deprecated and the JavaDoc says:</p>

<blockquote>
  <p>Deprecated. As of JDK version 1.1, replaced by DateFormat.parse(String s).</p>
</blockquote>

<p>I tried using the <code>SimpleDateFormatter</code> but the default formatter is causing an exception, so I want to try using a pattern, but what is the pattern to parse like the String constructor does?</p>

<hr>

<p>NB: this is different from other similar questions because it is specifically asking about replacing a deprecated (and popular) constructor, not just asking for help parsing an arbitrary date string.</p>
