title: What is the difference of using TemporalAmount or TemporalUnit in Java 8?
body: <p>I write some piece of code in Java 8 which use time arithmetic.
  I realize that I can implement in differentways. Lets look at simple code below. Of course it is the same result but I confused which way is mostly applied or most efficient to make arithmetic operations in Java 8 ? </p>
  
  <pre><code>LocalTime time = LocalTime.now();
  // 1st way
  LocalTime plusOp = time.plus(Duration.ofMinutes(10L));
  // 2nd way
  LocalTime plusOp2 = time.plus(10L, ChronoUnit.MINUTES);
  System.out.println(plusOp);
  System.out.println(plusOp2);
  // 3. way simply
   time.plusMinutes(10L);
  </code></pre>
  
  <p>Thanks in advance.</p>