Beispiel #1
0
 /**
  * Test for Tomorrow
  */
 public function testTomorrow()
 {
     $locale = new Locale('de_AT');
     $date = new Date(Date::now());
     $d2 = new Date(1010101010, $locale);
     $date->addDay(1);
     $this->assertFalse($d2->isTomorrow());
     $this->assertTrue($date->isTomorrow());
 }