title: Normalizing any date string into a given format in Java
body: <p>I'm working with website content which includes several types of date string (e.g. Atom/RSS feeds). I was wondering if there is a library to normalize these <strong>strings</strong>, or if someone has a gem tucked away for this purpose. </p>
  
  <p>Here's an example of what I'm trying to achieve: </p>
  
  <pre><code>2014-02-14T12:11:03-05:00
  2014-02-14T02:08:00Z
  </code></pre>
  
  <p>becomes:</p>
  
  <pre><code>// Only an example format, all that matters is they're the same
  YYYY-MM-DD - HH:MM:SS
  </code></pre>
  
  <p>Let me know your suggestions, any formatters will be appreciated :) I googled for a while and couldn't find anything!</p>
  
  <p>Oh, also, even though I tagged this Java (it's what I'm using), feel free to post answers in other languages - I'm sure either I, or someone on the thread, can help convert them.</p>