About Question enthuware.ocpjp.v8.2.1838 :
Posted: Wed Apr 05, 2017 4:56 pm
The explanation for the last answer features the following line:
However, there's no plusHours() method in Instant. I suggest changing to plusSeconds().
Code: Select all
Instant newInstant = oldInstant.plusHours(1);