Hi Aleksander, guess you are referring to java.time.Duration?
This class was added in Java 8 and commons-lang currently only requires Java 7. Therefore we can not add this at the moment.
Sorry, Pascal Am 14.07.2018 um 21:26 schrieb Aleksander Ściborek:
Hello everyone During implamanting a feauture in Java I noticed that there is no methods to round duration for instance: between 10:00 and 12:31 there is 2h 31 min. I want to write some methods to reduce boilerplate code to calculate time in given unit between temporals and round this time - e.g. for 2 h 31 minutes it should return 3 hours Aleksander
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org