title: What is the difference between android.text.format.DateFormat and java.text.DateFormat
body: <p>I read some posts on formatting date on android, like this:</p>
  
  <p><a href="https://stackoverflow.com/questions/454315/how-do-you-format-date-and-time-in-android">How do you format date and time in Android?</a></p>
  
  <p>People suggest use <code>android.text.format.DateFormat</code> rather than <code>java.text.DateFormat</code>,</p>
  
  <p>Also here, it mention a problem when converting date to string in android:</p>
  
  <p><a href="https://stackoverflow.com/questions/3905545/android-load-timezone-too-long-loaded-time-zone-names-for-en-us">Android load timezone too long: Loaded time zone names for en_US</a></p>
  
  <p>I am wondering what's the difference between <code>android.text.format.DateFormat</code> and <code>java.text.DateFormat</code>?</p>