@Test
public void testSetLocale() throws Exception
{

   PrettyTime t = new PrettyTime(new Date(315569259747L * 3L));
   Assert.assertEquals("3 decades ago", t.format(new Date(0)));
   t.setLocale(Locale.GERMAN);
   Assert.assertEquals("vor 3 Jahrzehnten", t.format(new Date(0)));
}