LocalTimeValue extends ObjectValueAdapter<LocalTime> { @Override public LocalTime asLocalTime() { return asObject(); } LocalTimeValue( LocalTime time ); @Override LocalTime asLocalTime(); @Override Type type();  }
@Test void shouldSupportAsLocalTime() { LocalTime time = LocalTime.of( 12, 59, 12, 999_999_999 ); LocalTimeValue timeValue = new LocalTimeValue( time ); assertEquals( time, timeValue.asLocalTime() ); }