title: Date Conversion with ThreadLocal
body: <p>I have a requirement to convert incoming date string format "20130212" (YYYYMMDD) to 12/02/2013 (DD/MM/YYYY) </p>
  
  <p>using <code>ThreadLocal</code>. I know a way to do this without the <code>ThreadLocal</code>. Can anyone help me?</p>
  
  <p>Conversion without <code>ThreadLocal</code>:</p>
  
  <pre><code>    final SimpleDateFormat format2 = new SimpleDateFormat("MM/dd/yyyy");
      final SimpleDateFormat format1 = new SimpleDateFormat("yyyyMMdd");
      final Date date = format1.parse(tradeDate);
      final Date formattedDate = format2.parse(format2.format(date));
  </code></pre>