title: Java 8 Instant class not have plusHours method despite shown in Oracle Tutorial example code
body: <p>The <a href="https://docs.oracle.com/javase/tutorial/datetime/iso/instant.html" rel="noreferrer"><em>Oracle Tutorial</em> page for the <code>Instant</code> class</a> shows this example code:</p>
  
  <pre><code>Instant oneHourLater = Instant.now().plusHours(1);
  </code></pre>
  
  <p>When I try to compile this code, the compiler throws the error:</p>
  
  <ul>
  <li><strong>Error</strong></li>
  </ul>
  
  <pre>
  InstantPrint.java:6: error: cannot find symbol
          Instant oneHourLater = Instant.now().plusHours(1);
                                              ^
    symbol:   method plusHours(int)
    location: class Instant
  </pre>
  
  <p>But this Java documentation mentions <code>plusHours()</code> method, but I check this <code>Instant</code> class and it doesn't contain <code>plusHours()</code> method.</p>
  
  <p>Thereafter, why mention this <code>plusHours()</code> method in the example?</p>