Interface TemporalExpr

    • Method Detail

      • 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