title: java.text.SimpleDateFormat not thread safe
body: <pre><code>Synchronization
  
  Date formats are not synchronized. It is recommended to create separate format instances for each thread. If multiple threads access a format concurrently, it must be synchronized externally
  </code></pre>
  
  <p>The above line is mentioned in the JavaDoc of SimpleDateFormat class.</p>
  
  <p>Does it mean that we should not create the SimpleDateFormat objects as Static.</p>
  
  <p>And If we create it as static, so wherever we are using this object we need to keep it in Synchronised Block.</p>