Correctly defining a duration using JodaTime
问题 I've created a method that takes two dates (in milliseconds) and returns a sentence that indicates the duration between these two dates. For the moment, I have this code: public static String formatDuration(long start, long end) { Interval interval = new Interval(start, end); return getPeriodFormatter().print(interval.toPeriod()).trim(); } private static PeriodFormatter getPeriodFormatter() { PeriodFormatter pf = new PeriodFormatterBuilder().printZeroRarelyFirst() .appendYears().appendSuffix(