IEnabledGranularity
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
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. See API maturity.
granularity: DateAttributeGranularity;
IEnabledGranularity.orderpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
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. See API maturity.
Localizable label prefix defined on the calendar (e.g. “FY”, “FP”).
prefix?: string;