@Test public void quarter() { FunctionExpression expr = dsl.interval(DSL.literal(1), DSL.literal("quarter")); assertEquals(INTERVAL, expr.type()); assertEquals(intervalValue(Period.ofMonths(3)), expr.valueOf(env)); }
private ExprValue quarter(ExprValue value) { return new ExprIntervalValue(Period.ofMonths(getIntegerValue(value) * 3)); }
IntervalClause { private ExprValue quarter(ExprValue value) { return new ExprIntervalValue(Period.ofMonths(getIntegerValue(value) * 3)); } }
IntervalClause { private ExprValue quarter(ExprValue value) { return new ExprIntervalValue(Period.ofMonths(getIntegerValue(value) * 3)); }  }
IntervalClause { private ExprValue quarter(ExprValue value) { return new ExprIntervalValue(Period.ofMonths(getIntegerValue(value) * 3)); }  void register(BuiltinFunctionRepository repository); }
IntervalClause { private ExprValue quarter(ExprValue value) { return new ExprIntervalValue(Period.ofMonths(getIntegerValue(value) * 3)); }  void register(BuiltinFunctionRepository repository);  }