calendars
Home > @gooddata/sdk-model > IGranularitiesQuery > calendars
IGranularitiesQuery.calendars property
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The calendar(s) to resolve granularities for. Pass a single-element array for one calendar, or several to get their merged, de-duplicated union in canonical order — e.g. standard + fiscal for a "supported/available" superset. A single custom calendar preserves its own enabledGranularities order; a merge always uses the canonical registry order.
Signature:
calendars: CalendarContext[];