public Instant toInstant() {
        return instant;
    }
@Test
    public void testNanoPrecision() {
        final String input = "2021-04-02T00:28:17.987654321Z";
        final Timestamp t1 = new Timestamp(input);

        assertEquals(987654321, t1.toInstant().getNano());
    }