IEnabledGranularity
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
A granularity enabled on a custom fiscal calendar (mirrors the calendar’s enabledGranularities).
export interface IEnabledGranularity
Remarks
Placeholder for the custom fiscal calendar work; consumed by the custom branch of getGranularities().
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(ALPHA) | |||
number | (ALPHA) (Optional) Calendar-defined drill-down order; falls back to the registry | ||
string | (ALPHA) (Optional) Localizable label prefix defined on the calendar (e.g. “FY”, “FP”). |
Property details
IEnabledGranularity.granularitypropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
granularity: DateAttributeGranularity;
IEnabledGranularity.orderpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Calendar-defined drill-down order; falls back to the registry order when omitted.
order?: number;
IEnabledGranularity.prefixpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Localizable label prefix defined on the calendar (e.g. “FY”, “FP”).
prefix?: string;