### Question:
LocalDateConverter implements BytesConverter<LocalDate> { @Override public LocalDate fromBytes(byte[] bytes) { return LocalDate.ofEpochDay(longConverter.fromBytes(bytes)); } LocalDateConverter(BytesConverter<Long> longConverter); @Override LocalDate fromBytes(byte[] bytes); @Override byte[] toBytes(LocalDate value); static final BytesConverter<LocalDate> INSTANCE; }### Answer:
@Test public void testFromBytes() { assertEquals(LocalDate.of(2015, 1, 7), LocalDateConverter.INSTANCE.fromBytes(new byte[]{64, 58})); }