Пример #1
0
 public function test_systemDefaultZone()
 {
     $test = Clock::systemDefaultZone();
     $this->assertEquals($test->getZone(), ZoneId::systemDefault());
     $this->assertEquals($test, Clock::system(ZoneId::systemDefault()));
 }