### Question:
DataUtils { static java.time.Instant timestampOf(gov.aps.jca.dbr.TimeStamp epicsTimeStamp) { if (epicsTimeStamp == null) return null; return java.time.Instant.ofEpochSecond(epicsTimeStamp.secPastEpoch() + TS_EPOCH_SEC_PAST_1970, 0) .plus(Duration.ofNanos(epicsTimeStamp.nsec())); }    }### Answer:
@Test public void timestampOf1() { Instant timestamp = DataUtils.timestampOf(new TimeStamp(0, 1234567890)); assertThat(timestamp, equalTo(Instant.ofEpochSecond(DataUtils.TS_EPOCH_SEC_PAST_1970 + 1, 234567890))); }