public function testGetValue() { $this->assertEquals(time() - strtotime('today'), Time::now()->getValue()); $this->assertNotEquals(1, Time::now()->getValue()); }
/** * @return DateTime */ public static function now() { return new self(Date::now(), Time::now()); }