Interface FilterableDuration

All Superinterfaces:
Expressions.Operand
All Known Subinterfaces:
ValueDuration
All Known Implementing Classes:
ValueDuration.Expression

public interface FilterableDuration extends Expressions.Operand
Duration operations for generic OData filter expression operands.
  • Method Details

    • offsetSeconds

      @Nonnull default ValueNumeric.Expression offsetSeconds()
      Filter by expression "offsetseconds".
      Returns:
      The FluentHelper filter.
    • add

      @Nonnull default ValueDuration.Expression add(@Nonnull ValueDuration operand)
      Filter by expression "add".
      Parameters:
      operand - The duration to add to the duration.
      Returns:
      The FluentHelper filter.
    • add

      @Nonnull default ValueDuration.Expression add(@Nonnull Duration operand)
      Filter by expression "add".
      Parameters:
      operand - The duration to add to the duration.
      Returns:
      The FluentHelper filter.
    • subtract

      @Nonnull default ValueDuration.Expression subtract(@Nonnull ValueDuration operand)
      Filter by expression "sub".
      Parameters:
      operand - The duration to subtract from this duration.
      Returns:
      The FluentHelper filter.
    • subtract

      @Nonnull default ValueDuration.Expression subtract(@Nonnull Duration operand)
      Filter by expression "sub".
      Parameters:
      operand - The duration to subtract from this duration.
      Returns:
      The FluentHelper filter.
    • multiply

      @Nonnull default ValueDuration.Expression multiply(@Nonnull ValueNumeric operand)
      Filter by expression "mul".
      Parameters:
      operand - The product to be used to multiply the duration.
      Returns:
      The FluentHelper filter.
    • multiply

      @Nonnull default ValueDuration.Expression multiply(@Nonnull Number operand)
      Filter by expression "mul".
      Parameters:
      operand - The product to be used to multiply the duration.
      Returns:
      The FluentHelper filter.
    • divide

      @Nonnull default ValueDuration.Expression divide(@Nonnull ValueNumeric operand)
      Filter by expression "div".
      Parameters:
      operand - The quotient to be used to divide the duration.
      Returns:
      The FluentHelper filter.
    • divide

      @Nonnull default ValueDuration.Expression divide(@Nonnull Number operand)
      Filter by expression "div".
      Parameters:
      operand - The quotient to be used to divide the duration.
      Returns:
      The FluentHelper filter.
    • negate

      @Nonnull default ValueDuration.Expression negate()
      Filter by expression "-".
      Returns:
      The FluentHelper filter.