newAbsoluteGranularityDateFilter()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Creates a new absolute date filter with granularity that has a start.
export declare function newAbsoluteGranularityDateFilter(dateDataSet: ObjRef | Identifier, granularity: DatePeriodGranularity, from: DatePeriodLiteral, to?: DatePeriodLiteral, options?: IAbsoluteGranularityDateFilterOptions): IAbsoluteGranularityDateFilter;
Parameters
Parameter | Type | Description |
|---|---|---|
dateDataSet | ref or identifier of the date data set to filter on | |
granularity | granularity of the periods in ‘from’ and ’to’ | |
from | first period of the range, see DatePeriodLiteral | |
to | (Optional) last period of the range, see DatePeriodLiteral; undefined for a range unbounded at the end | |
options | (Optional) local identifier and empty values handling of the filter |
Returns