title: How to set precision of LocalDateTime to nanoseconds in Java.time?
body: <p>According to the <a href="https://docs.oracle.com/javase/8/docs/api/java/time/package-summary.html" rel="noreferrer">java.time documentation</a>, java.time should be able to present a LocalDateTime or LocalTime with nanoseconds precision, but when I run <code>LocalDateTime.now()</code> and print out, it only shows 3 digits instead of 9.</p>
  
  <p>Like this:</p>
  
  <pre><code>2016-08-11T22:17:35.031
  </code></pre>
  
  <p>Is there a way to get a higher precision?</p>