title: Comparing Converting ISO8601-compliant date with Java date?
body: <p>As per this <a href="https://stackoverflow.com/questions/2201925/converting-iso8601-compliant-string-to-java-util-date">question</a>, I have found how to parse the Solr date, but I am still unable to compare it with Java date. </p>
  
  <pre><code>DateTimeFormatter parser2 = ISODateTimeFormat.dateTimeNoMillis();
      String jtdate = "2010-01-01T12:00:00+01:00";
      System.out.println(parser2.parseDateTime(jtdate));
  </code></pre>
  
  <p>Currently I have got date in this format :  2013-07-28T13:48:02Z and I need to apply compareTo() operator on this date with current date from Java. </p>