title: Java8 java.util.Date conversion to java.time.ZonedDateTime
body: <p>I am getting the following exception while trying to convert <code>java.util.Date</code> to <code>java.time.LocalDate</code>. </p>
  
  <pre><code>java.time.DateTimeException: Unable to obtain ZonedDateTime from TemporalAccessor: 2014-08-19T05:28:16.768Z of type java.time.Instant
  </code></pre>
  
  <p>The code is as follow:</p>
  
  <pre><code>public static Date getNearestQuarterStartDate(Date calculateFromDate){
  
      int[] quaterStartMonths={1,4,7,10};     
      Date startDate=null;
  
      ZonedDateTime d=ZonedDateTime.from(calculateFromDate.toInstant());
      int frmDateMonth=d.getMonth().getValue();
  </code></pre>
  
  <p>Is there something wrong in the way I am using the <code>ZonedDateTime</code> class? </p>
  
  <p>As per documentation, this should convert a <code>java.util.Date</code> object to <code>ZonedDateTime</code>. The date format above is standard Date? </p>
  
  <p>Do I have to fallback on Joda time?</p>
  
  <p>If someone could provide some suggestion, it would be great.</p>