public static org.threeten.bp.Instant toThreetenInstant(org.joda.time.Instant jodaInstant) {
    return org.threeten.bp.Instant.ofEpochMilli(jodaInstant.getMillis());
  }
@Test
  public void testToThreetenInstant() {
    org.joda.time.Instant jodaInstant = org.joda.time.Instant.ofEpochMilli(1_000_000_000L);
    assertEquals(1_000_000_000L, toThreetenInstant(jodaInstant).toEpochMilli());
  }