title: unparseable date with timezone
body: <p>I have to parse this two date</p>
  
  <pre><code>private static final String d1 = "2013­-04­-02T08:37:56Z";
  private static final String d2 = "2013-­04-­02T10:37:56+02:00";
  </code></pre>
  
  <p>for the first one I'm using the pattern  </p>
  
  <pre><code>"yyyy-MM-dd'T'HH:mm:ss'Z'"
  </code></pre>
  
  <p>and for the second one I'm using</p>
  
  <pre><code>"yyyy-MM-dd'T'HH:mm:ssXXX"
  </code></pre>
  
  <p>but I'm always getting </p>
  
  <pre><code>java.text.ParseException: Unparseable date: ....
  </code></pre>
  
  <p>here my test code:</p>
  
  <pre><code>private static final String d1 = "2013-­04­-02T08:37:56Z";
  private static final String d2 = "2013-­04­-02T10:37:56+02:00";
  
  private static final String DATE_FORMAT_WITH_TIMEZONE = "yyyy-MM-dd'T'HH:mm:ss'Z'";
  private static final String DATE_FORMAT_WITH_TIMEZONE2 = "yyyy-MM-dd'T'HH:mm:ssXXX";
  
  public static void main(String[] args) {
      try {
          SimpleDateFormat df = new SimpleDateFormat(DATE_FORMAT_WITH_TIMEZONE);
  
          Date d = df.parse(d1);
          System.out.println("d1 = " + d);
  
          df = new SimpleDateFormat(DATE_FORMAT_WITH_TIMEZONE2);
          df.setTimeZone(TimeZone.getTimeZone("Europe/Rome"));
          Date dt = df.parse(d2);
          System.out.println("d2 = " + dt);
      } catch (ParseException ex) {
          ex.printStackTrace();
      }
  }
  </code></pre>
  
  <p>What's wrong in my code?</p>