}
@Test
public void testFormattingDurationListInThePast() throws Exception
{
PrettyTime t = new PrettyTime(new Date(1000 * 60 * 60 * 24 * 3 + 1000 * 60 * 60 * 15 + 1000 * 60 * 38), locale);
List<Duration> durations = t.calculatePreciseDuration(new Date(0));
assertEquals("3 päivää 15 tuntia 38 minuuttia sitten", t.format(durations));
}