On this page i read the following:
To do calculations with dates, it is also very easy. Probably the best improvement compared to the current situation with Java < 1.8:
Period p = Period.of(2, HOURS);
LocalTime time = LocalTime.now();
LocalTime newTime = time.plus(p); // or time.plus(5, HOURS); or time.plusHours(5);
I don't clearly see the advantage prior to Versions < 1.8.
Maybe someone can give me an example? Atm i am asking myself, where the improvement of the new date & time API comes from.