UNPKG

@netgrif/components-core

Version:

Netgrif Application engine frontend core Angular library

20 lines (19 loc) 933 B
import { InRangeDateTime } from './in-range-date-time'; import { OperatorService } from '../../operator-service/operator.service'; import { Moment } from 'moment'; import { Query } from '../query/query'; import { Operator } from './operator'; import { Operators } from './operators'; /** * Equality operator for indexed fields that store a date time object in timestamp format. * * Will create a range query that matches every timestamp from the 0th millisecond of the selected date time object (included) * to the 0th millisecond after of the next minute after the minute of the date time object (excluded). */ export declare class EqualsDateTime extends Operator<Moment> { protected dateTimeRange: InRangeDateTime; constructor(operators: OperatorService); createQuery(elasticKeywords: Array<string>, args: Array<Moment>): Query; getOperatorNameTemplate(): Array<string>; serialize(): Operators | string; }