InstantParser extends AbstractColumnParser<Instant> { @Override public Instant parse(String value) { return Instant.parse(value); } InstantParser(ColumnType columnType); @Override boolean canParse(String s); @Override Instant parse(String value);  }
@Test public void string() { Instant instant = Instant.parse("2019-05-31T03:45:04.021Z"); assertEquals(instant, parser.parse(instant.toString())); }
@Test public void unformattedString() { Instant instant = Instant.parse("2019-05-31T03:45:04.021Z"); InstantColumn col = InstantColumn.create("instantCol", new Instant[] {instant}); assertEquals(instant, parser.parse(col.getUnformattedString(0))); }