Java 8 LocalDateTime ZonedDateTime cannot parse date with time zone
<p>I am trying to use Java 8 new Date pattern instead of Joda and I have the following problem: </p>

<p>Both </p>

<pre><code>ZonedDateTime.parse("02/05/16 11:51.12.083 +04:30", DateTimeFormatter.ofPattern("dd/MM/yy HH:mm.ss.SSS Z"))
</code></pre>

<p>and </p>

<pre><code>LocalDateTime.parse("02/05/16 11:51.12.083 +04:30", DateTimeFormatter.ofPattern("dd/MM/yy HH:mm.ss.SSS Z"))
</code></pre>

<p>throw 'java.time.format.DateTimeParseException' exception.
While </p>

<pre><code>org.joda.time.DateTime.parse("02/05/16 11:51.12.083 +04:30", DateTimeFormat.forPattern("dd/MM/yy HH:mm.ss.SSS Z"))
</code></pre>

<p>works fine. </p>

<p>Cause of the exception is:</p>

<blockquote>
  <p>java.time.format.DateTimeParseException: Text '02/05/16 11:51.12.083 +04:30' could not be parsed at index 22</p>
</blockquote>

<p>Am I doing something wrong?</p>