# forge.dates.DateRule

```python
forge.dates.DateRule(kind: str, trading: bool, days: tuple[str, ...] = (), dates: tuple[str, ...] = ()) -> None
```

Which days a scheduled method runs on.

## Members

| Name | Signature | Summary |
| --- | --- | --- |
| to_json | (self) -> dict[str, Any] | The rule as plain JSON: its kind, trading or calendar days, and any days or dates. |

Since Forge API 1.
