title: Parse date with possible single-digit month/day/hour using java.text.SimpleDateFormat
body: <p>On a project with Talend Open Studio (an Open Source code-generating ETL tool), I am getting errors parsing incoming date strings like "3/14/1967 0:00:00" (<em>note the single-digit month</em>).</p>
  
  <p>Digging into <a href="http://repository.georchestra.org/svn-georchestra/sdi/trunk/job/edigeo2shp_0.1/edigeo2shp/src/routines/system/ParserUtils.java" rel="nofollow">the</a> <a href="http://repository.georchestra.org/svn-georchestra/sdi/trunk/job/edigeo2shp_0.1/edigeo2shp/src/routines/system/FastDateParser.java" rel="nofollow">code</a>, I can see it is using <a href="http://download.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html" rel="nofollow">java.text.SimpleDateFormat</a>. So the date pattern string I expect I need to use is <strong>"d-M-yyyy H:mm:ss"</strong>... but it keeps giving me errors like "Unparseable date: 3/14/1967 0:00:00".</p>
  
  <p>I assume that SimpleDateFormat <em>can</em> deal with the single-or-double digit problem. <strong>Do I need a different date pattern?</strong> (Sure, I could do pre-processing to tweak the values before Java attempts to read the strings as Dates, but it shouldn't be necessary!)</p>