Representation of a filter function, that returns a value of type date. This supports DateTimeOffset values.

Type Parameters

Hierarchy

  • OrderableFilterFunction<EntityT, moment.Moment>
    • DateFilterFunction

Constructors

  • Creates an instance of DateFilterFunction.

    Type Parameters

    Parameters

    • functionName: string

      Name of the function that returns a numeric value.

    • parameters: FilterFunctionParameterType<EntityT>[]

      Representation of the parameters passed to the filter function.

    Returns DateFilterFunction<EntityT>

Properties

edmType: EdmTypeShared<ODataVersionOf<EntityT>>
functionName: string
parameters: FilterFunctionParameterType<EntityT>[]

Methods

  • Creates an instance of Filter for this filter function and the given value using the operator 'eq', i.e. ==.

    Returns

    The resulting filter.

    Parameters

    • value: Moment

      Value to be used in the filter.

    Returns Filter<EntityT, any, Moment>

  • Creates an instance of Filter for this filter function and the given value using the operator 'ge', i.e. >=.

    Returns

    The resulting filter.

    Parameters

    • value: Moment

      Value to be used in the filter.

    Returns Filter<EntityT, any, Moment>

  • Creates an instance of Filter for this filter function and the given value using the operator 'gt', i.e. >.

    Returns

    The resulting filter.

    Parameters

    • value: Moment

      Value to be used in the filter.

    Returns Filter<EntityT, any, Moment>

  • Creates an instance of Filter for this filter function and the given value using the operator 'le', i.e. <=.

    Returns

    The resulting filter.

    Parameters

    • value: Moment

      Value to be used in the filter.

    Returns Filter<EntityT, any, Moment>

  • Creates an instance of Filter for this filter function and the given value using the operator 'lt', i.e. <.

    Returns

    The resulting filter.

    Parameters

    • value: Moment

      Value to be used in the filter.

    Returns Filter<EntityT, any, Moment>

  • Creates an instance of Filter for this filter function and the given value using the operator 'ne', i.e. !=.

    Returns

    The resulting filter.

    Parameters

    • value: Moment

      Value to be used in the filter.

    Returns Filter<EntityT, any, Moment>

Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.