public function testDiffDayDynamic3() { $date = new \MUtil_Date(); $date->setTimeToDayStart(); $date->subHour(10); $this->assertEquals(-1, $date->diffDays()); }