function testAddMixed() { $date = lmbDateTime::create('2005-01-01')->addMonth()->addWeek(-1)->addDay(2)->addHour(2)->addSecond(-30)->addMinute(2); $this->assertEqual($date->toString(), '2005-01-27 02:01:30'); }
function testAddMixed() { $date = lmbDateTime::create('2005-01-01')->addMonth()->addWeek(-1)->addDay(2)->addHour(2)->addSecond(-30)->addMinute(2); $this->assertEqual($date->toString(), '2005-01-27 02:01:30'); }