public static org.joda.time.Instant microsecondToInstant(long microsecond) {
    return org.joda.time.Instant.ofEpochMilli(microsecond / 1_000L);
  }
@Test
  public void testMicrosecondToJodaInstant() {
    assertEquals(org.joda.time.Instant.ofEpochMilli(1_234L), microsecondToInstant(1_234_567L));
  }