public void test_toInstant_19700101_minusOneNano() {

    OffsetDateTime dt = OffsetDateTime.of(1969, 12, 31, 23, 59, 59, 999999999, ZoneOffset.UTC);
    Instant test = dt.toInstant();
    assertEquals(test.getEpochSecond(), -1);
    assertEquals(test.getNano(), 999999999);
  }