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