title: Formatting a date with correct date/time ordering
body: <p>This is the first time I'm posting on StackOverflow, so please bear with me.</p>
  
  <p>In the Android app I'm working on at the moment, I have to format a <code>java.util.Date</code>-style timestamp retrieved from a database according to the user's locale/date format settings.</p>
  
  <p>This sounds simple and can be done with the following piece of code:</p>
  
  <pre><code>import android.text.format.DateFormat;
  long timestamp = cursor.getLong(dateColumn);
  Date date = new Date(timestamp);
  String dateFormatted = DateFormat.getMediumDateFormat(context).format(date);
  </code></pre>
  
  <p>Now, I want the time displayed alongside the date.
  Not difficult either, just add:</p>
  
  <pre><code>String timeFormatted = DateFormat.getTimeFormat(context).format(date);
  </code></pre>
  
  <p>However, I'm hitting a problem here: How do I know which to display first? And what separator do I use?</p>
  
  <p>In most cases, putting the date first and separating the two with a space is a safe bet, I guess.
  Is there something equivalent to J2SE's <code>java.text.DateFormat.getDateTimeInstance()</code>?</p>