ExprIntervalValue extends AbstractExprValue { @Override public TemporalAmount value() { return interval; }  @Override TemporalAmount intervalValue(); @Override int compare(ExprValue other); @Override boolean equal(ExprValue other); @Override TemporalAmount value(); @Override ExprType type(); TemporalUnit unit();  }
@Test public void value() { ExprValue value = new ExprIntervalValue(Period.ofWeeks(1)); assertEquals(value.value(), Period.ofWeeks(1)); }