Period to string [duplicate]
You need to normalize the period because if you construct it with the total number of seconds, then that’s the only value it has. Normalizing it will break it down into the total number of days, minutes, seconds, etc. Edit by ripper234 – Adding a TL;DR version: PeriodFormat.getDefault().print(period) For example: public static void main(String[] args) … Read more