public void factory_ofInstant_allDaysInCycle() {

    // sanity check using different algorithm
    OffsetDateTime expected = OffsetDateTime.of(1970, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC);
    for (long i = 0; i < 146097; i++) {
      Instant instant = Instant.ofEpochSecond(i * 24L * 60L * 60L);
      OffsetDateTime test = OffsetDateTime.ofInstant(instant, ZoneOffset.UTC);
      assertEquals(test, expected);
      expected = expected.plusDays(1);
    }
  }