void check(OffsetTime test, int h, int m, int s, int n, ZoneOffset offset) {

    assertEquals(test.getTime(), LocalTime.of(h, m, s, n));
    assertEquals(test.getOffset(), offset);

    assertEquals(test.getHour(), h);
    assertEquals(test.getMinute(), m);
    assertEquals(test.getSecond(), s);
    assertEquals(test.getNano(), n);
  }

  // -----------------------------------------------------------------------
  @Test(groups = { "tck" }