> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IDeclarativeCalendarGranularity

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/ldm/declarativeModel/index.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Granularity that a calendar enables.

**Signature:**

```typescript
export interface IDeclarativeCalendarGranularity 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [granularity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ideclarativecalendargranularity/index.md#ideclarativecalendargranularitygranularity) |  | [DeclarativeDateGranularity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.declarativedategranularity/index.md) | **_(ALPHA)_** |
| [prefix](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ideclarativecalendargranularity/index.md#ideclarativecalendargranularityprefix) |  | string | **_(ALPHA)_** |

## Property details

### IDeclarativeCalendarGranularity.granularity

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
granularity: DeclarativeDateGranularity;
```

### IDeclarativeCalendarGranularity.prefix

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
prefix: string;
```
