Yes, you are right I forgot about it, but when new commons-lang will requires Java 8 I hope I will be able to help you ;) Aleksander
On 15 July 2018 at 21:06, Pascal Schumacher <pascalschumac...@gmx.net> wrote: > 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 > >