Interface TemporalExpr

All Superinterfaces:
Expr, ODataExpr
All Known Implementing Classes:
MethodCallExpr, TimeValueExpr

public interface TemporalExpr extends Expr
  • Method Details

    • isTime

      default boolean isTime()
      Description copied from interface: Expr
      Check if this expression is a time expresion.
      Specified by:
      isTime in interface Expr
      Returns:
      if it is a arithmetic expression
    • asTime

      default Optional<TemporalExpr> asTime()
      Description copied from interface: Expr
      Get this expression as a time expression
      Specified by:
      asTime in interface Expr
      Returns:
      the expression or Optional.empty() if the type does not match