interface
Source: index.ts ↗
IDateRangeParameterPeriod
Period held by a IDateRangeParameterDefinition.
export interface IDateRangeParameterPeriod
Remarks
from and to are inclusive backend period literals in the format of the granularity: "2025" for GDC.time.year, "2025-3" for GDC.time.quarter, "2025-08" for GDC.time.month, "2025-33" for GDC.time.week (the ISO-8601 week number), "2025-08-14" for GDC.time.date, "2025-08-14 09" for GDC.time.hour, "2025-08-14 09:30" for GDC.time.minute and "2025-08-14 09:30:15" for GDC.time.second. A missing end leaves the period unbounded on that side. The backend does not guarantee that at least one end is set.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (Optional) | ||
string | (Optional) |
Property details
IDateRangeParameterPeriod.fromproperty
from?: string;
IDateRangeParameterPeriod.granularityproperty
granularity: DateRangeParameterGranularity;
IDateRangeParameterPeriod.toproperty
to?: string;