UNPKG

880 BTypeScriptView Raw
1import moment from 'moment';
2import { Entity as EntityBase, FilterFunctionParameterType, OrderableFilterFunction } from '../../odata-common';
3/**
4 * Representation of a filter function, that returns a value of type date. This supports DateTimeOffset values.
5 */
6export declare class DateFilterFunction<EntityT extends EntityBase> extends OrderableFilterFunction<EntityT, moment.Moment> {
7 /**
8 * Creates an instance of DateFilterFunction.
9 * @param functionName - Name of the function that returns a numeric value
10 * @param parameters - Representation of the parameters passed to the filter function
11 * @param edmType - Type of the returned numeric value. This influences the formatting of the returned value.
12 */
13 constructor(functionName: string, parameters: FilterFunctionParameterType<EntityT>[]);
14}
15//# sourceMappingURL=date-filter-function.d.ts.map
\No newline at end of file