array('4 days ago',$this->getTimestampAgo($time,30,15,3,4),$time),
array('seconds ago',new\DateTime('Wed, 02 Oct 2013 23:59:58 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array('seconds ago',new\DateTime('Wed, 02 Oct 2013 23:59:00 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array('1 minute ago',new\DateTime('Wed, 02 Oct 2013 23:58:30 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array('3 minutes ago',new\DateTime('Wed, 02 Oct 2013 23:56:30 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array('59 minutes ago',new\DateTime('Wed, 02 Oct 2013 23:00:00 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array('1 hour ago',new\DateTime('Wed, 02 Oct 2013 22:59:59 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array('3 hours ago',new\DateTime('Wed, 02 Oct 2013 20:39:59 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array('yesterday',new\DateTime('Tue, 01 Oct 2013 20:39:59 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array('2 days ago',new\DateTime('Mon, 30 Sep 2013 20:39:59 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array($deL10N->t('seconds ago'),new\DateTime('Wed, 02 Oct 2013 23:59:58 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000'),$deL10N),
array($deL10N->n('%n minute ago','%n minutes ago',1),new\DateTime('Wed, 02 Oct 2013 23:58:30 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000'),$deL10N),
array($deL10N->n('%n minute ago','%n minutes ago',3),new\DateTime('Wed, 02 Oct 2013 23:56:30 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000'),$deL10N),
array($deL10N->n('%n hour ago','%n hours ago',1),new\DateTime('Wed, 02 Oct 2013 22:59:59 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000'),$deL10N),
array($deL10N->n('%n hour ago','%n hours ago',3),new\DateTime('Wed, 02 Oct 2013 20:39:59 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000'),$deL10N),
array($deL10N->n('%n day ago','%n days ago',2),new\DateTime('Mon, 30 Sep 2013 20:39:59 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000'),$deL10N),
array('2 years ago',$this->getTimestampAgo($time,30,15,3,35,3),$this->getTimestampAgo($time,0,0,0,0,1)),
// Test translations
array($deL10N->t('today'),new\DateTime('Wed, 02 Oct 2013 12:00:00 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000'),$deL10N),
array($deL10N->t('yesterday'),new\DateTime('Tue, 01 Oct 2013 00:00:00 +0000'),new\DateTime('Wed, 02 Oct 2013 00:00:00 +0000'),$deL10N),
array($deL10N->n('%n day ago','%n days ago',2),new\DateTime('Mon, 30 Sep 2013 00:00:00 +0000'),new\DateTime('Wed, 02 Oct 2013 00:00:00 +0000'),$deL10N),
array($deL10N->n('%n month ago','%n months ago',9),new\DateTime('Tue, 31 Dec 2013 00:00:00 +0000'),new\DateTime('Thu, 02 Oct 2014 00:00:00 +0000'),$deL10N),
array($deL10N->n('%n year ago','%n years ago',2),new\DateTime('Sun, 01 Jan 2012 00:00:00 +0000'),new\DateTime('Thu, 02 Oct 2014 00:00:00 +0000'),$deL10N),
// Test time
array('today',new\DateTime('Wed, 02 Oct 2013 00:00:00 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array('today',new\DateTime('Wed, 02 Oct 2013 12:00:00 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array('today',new\DateTime('Wed, 02 Oct 2013 23:59:58 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
// Test some special yesterdays
array('yesterday',new\DateTime('Tue, 01 Oct 2013 00:00:00 +0000'),new\DateTime('Wed, 02 Oct 2013 00:00:00 +0000')),
array('yesterday',new\DateTime('Tue, 01 Oct 2013 00:00:00 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),
array('yesterday',new\DateTime('Tue, 01 Oct 2013 23:59:58 +0000'),new\DateTime('Wed, 02 Oct 2013 00:00:00 +0000')),
array('yesterday',new\DateTime('Tue, 01 Oct 2013 23:59:58 +0000'),new\DateTime('Wed, 02 Oct 2013 23:59:59 +0000')),