title: Parse ISO timestamp using Java 8 java.time api (standard edition only)
body: <p>I'm having trouble getting milliseconds from the epoch out of the string in the example. I have tried this three different ways so far, and the example shows the latest attempt. It always seems to come down to that the <a href="http://docs.oracle.com/javase/8/docs/api/java/time/temporal/TemporalAccessor.html" rel="noreferrer">TemporalAccessor</a> does not support <a href="http://docs.oracle.com/javase/8/docs/api/java/time/temporal/ChronoField.html" rel="noreferrer">ChronoField</a>. If I could successfully construct an instance of Instant, I could use <a href="http://docs.oracle.com/javase/8/docs/api/java/time/Instant.html#toEpochMilli--" rel="noreferrer">toEpochMilli()</a>.</p>
  
  <pre><code>String dateStr = "2014-08-16T05:03:45-05:00"
  TemporalAccessor creationAccessor = DateTimeFormatter.ISO_OFFSET_DATE_TIME.parse(dateStr);
  Instant creationDate = Instant.from(creationAccessor);
  </code></pre>
  
  <p>Please give concise answers (don't construct a formatter from scratch) and use only the java 8 standard distribution (I can do it with Joda, but want to avoid dependencies).</p>
  
  <p><strong>Edit:</strong> Instant.from in the code above throws: <code>java.time.DateTimeException: Unable to obtain Instant from TemporalAccessor: {OffsetSeconds=-18000},ISO resolved to 2014-08-16T05:03:45 of type java.time.format.Parsed</code></p>