title: How do I format a javax.time.Instant as a string in the local time zone?
body: <p>How do I format a <a href="http://threeten.sourceforge.net/apidocs-2011-01-07/javax/time/Instant.html" rel="noreferrer"><code>javax.time.Instant</code></a> as a string in the local time zone?  The following translates a local <code>Instant</code> to <a href="http://en.wikipedia.org/wiki/Coordinated_Universal_Time" rel="noreferrer">UTC</a>, not to the local time zone as I was expecting.  Removing the call to <a href="http://threeten.sourceforge.net/apidocs/javax/time/calendar/ZonedDateTime.html#toLocalDateTime%28%29" rel="noreferrer"><code>toLocalDateTime()</code></a> does the same.  How can I get the local time instead?</p>
  
  <pre><code>public String getDateTimeString( final Instant instant )
  {
      checkNotNull( instant );
      DateTimeFormatterBuilder builder = new DateTimeFormatterBuilder();
      DateTimeFormatter formatter = builder.appendPattern( "yyyyMMddHHmmss" ).toFormatter();
      return formatter.print( ZonedDateTime.ofInstant( instant, TimeZone.UTC ).toLocalDateTime() );
  }
  </code></pre>
  
  <p><strong>Note: We're using the older version <a href="http://sourceforge.net/projects/threeten/files/threeten/0.6.3/jsr-310-ri-0.6.3.jar/download" rel="noreferrer">0.6.3</a> of the <a href="http://sourceforge.net/apps/mediawiki/threeten/index.php?title=ThreeTen" rel="noreferrer">JSR-310</a> reference implementation.</strong></p>