public void factory_ofInstant_maxYear() {

    OffsetTime test = OffsetTime.ofInstant(Instant.ofEpochSecond(Long.MAX_VALUE), ZoneOffset.UTC);
    int hour = (int) ((Long.MAX_VALUE / (60 * 60)) % 24);
    int min = (int) ((Long.MAX_VALUE / 60) % 60);
    int sec = (int) (Long.MAX_VALUE % 60);
    assertEquals(test.getHour(), hour);
    assertEquals(test.getMinute(), min);
    assertEquals(test.getSecond(), sec);
    assertEquals(test.getNano(), 0);
  }

  @Test(groups = { "tck" }