# DateControlDefinition

A calendar day, bounded on both sides. Its value is `YYYY-MM-DD`.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { DateControlDefinition } from "@mapcairn/core";
 
interface DateControlDefinition extends ControlBase
```

## Properties

### default

```ts
readonly default: DateBound;
```

The day chosen until the person picks another.

### kind

```ts
readonly kind: "date";
```

Tells a date control from the other kinds.

### max

```ts
readonly max: DateBound;
```

The latest day that can be chosen.

### min

```ts
readonly min: DateBound;
```

The earliest day that can be chosen.

## See also

- [`ControlBase`](https://docs.mapcairn.com/api/core/ControlBase.md)
- [`DateBound`](https://docs.mapcairn.com/api/core/DateBound.md)

Source: [packages/core/src/layers/definition.ts:97](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/definition.ts#L97)
