/** * TimeLibTest::testCweekDay() * * @return void */ public function testCweekDay() { $this->out($this->_header(__FUNCTION__), true); // wednesday $ret = TimeLib::cweekDay(51, 2011, 2); $this->out('51, 2011, 2'); $this->out(date(FORMAT_DB_DATETIME, $ret)); $this->assertTrue($ret >= 1324422000 && $ret <= 1324425600); //$this->assertEquals(1324422000, $ret); }