public function testCreateFromTimestampWithString() { $d = Date::createFromTimestamp(0, 'UTC'); $this->assertDate($d, 1970, 1, 1, 0, 0, 0); $this->assertSame(0, $d->getOffset()); $this->assertSame('UTC', $d->getTimezoneName()); }