function testGetEndOfDay() { $date = new lmbDateTime('2005-08-20 12:24:12'); $this->assertEqual($date->getEndOfDay(), new lmbDateTime('2005-08-20 23:59:59')); }