예제 #1
0
 /**
  * @covers DateUtils::getGmtOffset
  */
 public function testGetGmtOffset()
 {
     $time = 1430469263;
     $actual = \DateUtils::getGmtOffset($time, "Europe/Paris");
     $excepted = 7200;
     $this->assertSame($excepted, $actual);
 }