RelativeTimeFilter class

Extends

Constructors

RelativeTimeFilter(IFilterTarget, RelativeDateOperators, number, RelativeDateFilterTimeUnit)

Properties

operator
schemaUrl
timeUnitsCount
timeUnitType

Inherited Properties

displaySettings
filterType
schema
target

Methods

toJSON()

Constructor Details

RelativeTimeFilter(IFilterTarget, RelativeDateOperators, number, RelativeDateFilterTimeUnit)

new RelativeTimeFilter(target: IFilterTarget, operator: RelativeDateOperators, timeUnitsCount: number, timeUnitType: RelativeDateFilterTimeUnit)

Parameters

target
IFilterTarget
timeUnitsCount

number

Property Details

operator

operator: RelativeDateOperators

Property Value

schemaUrl

static schemaUrl: string

Property Value

string

timeUnitsCount

timeUnitsCount: number

Property Value

number

timeUnitType

timeUnitType: RelativeDateFilterTimeUnit

Property Value

Inherited Property Details

displaySettings

displaySettings: IFilterDisplaySettings

Property Value

Inherited From Filter.displaySettings

filterType

filterType: FilterType

Property Value

Inherited From Filter.filterType

schema

static schema: string

Property Value

string

Inherited From Filter.schema

target

target: IFilterGeneralTarget

Property Value

Inherited From Filter.target

Method Details

toJSON()

function toJSON(): IRelativeTimeFilter

Returns