function check(ZonedDateTime $test, $y, $m, $d, $h, $min, $s, $n, ZoneOffset $offset, ZoneId $zone)
 {
     $this->assertEquals($test->getYear(), $y);
     $this->assertEquals($test->getMonth()->getValue(), $m);
     $this->assertEquals($test->getDayOfMonth(), $d);
     $this->assertEquals($test->getHour(), $h);
     $this->assertEquals($test->getMinute(), $min);
     $this->assertEquals($test->getSecond(), $s);
     $this->assertEquals($test->getNano(), $n);
     $this->assertEquals($test->getOffset(), $offset);
     $this->assertEquals($test->getZone(), $zone);
 }