title: What's the difference between Instant and LocalDateTime?
body: <p>I know that:</p>
  <ul>
  <li><strong>Instant</strong> is rather a &quot;technical&quot; timestamp representation (nanoseconds) for computing.</li>
  <li><strong>LocalDateTime</strong> is rather date/clock representation <strike>including time-zones</strike> for humans.</li>
  </ul>
  <p>Still in the end IMO both can be taken as types for most application use cases. As an example: currently, I am running a batch job where I need to calculate the next run based on dates and I am struggling to find pros/cons between these two types (apart from the nanosecond precision advantage of <code>Instant</code> and the time-zone part of <code>LocalDateTime</code>).</p>
  <p>Can you name some application examples where only <code>Instant</code> or <code>LocalDateTime</code> should be used?</p>
  <p><em>Edit: Beware of misread documentations for <code>LocalDateTime</code> regarding precision and time-zone.</em></p>