public List<Date> parse(String language)
   {
      return parse(language, new Date());
   }
@Test
   public void testParseYesterday()
   {
      Calendar yesterday = Calendar.getInstance();
      yesterday.setTime(new Date());
      yesterday.add(Calendar.DAY_OF_MONTH, -1);

      List<Date> parse = new PrettyTimeParser().parse("yesterday");
      Assert.assertFalse(parse.isEmpty());

      Calendar parsedDate = Calendar.getInstance();
      parsedDate.setTime(parse.get(0));

      Assert.assertEquals(yesterday.get(Calendar.DAY_OF_MONTH), parsedDate.get(Calendar.DAY_OF_MONTH));
      Assert.assertEquals(yesterday.get(Calendar.MONTH), parsedDate.get(Calendar.MONTH));
      Assert.assertEquals(yesterday.get(Calendar.YEAR), parsedDate.get(Calendar.YEAR));
   }