---
id: "quarter"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["datetime"]
langs: ["common"]
quality: 70
url: "http://registry.apicrafter.io/datatype/quarter"
---

# Quarter of the year (`quarter`)

A calendar quater of the year

- Personal data (PII): no
- Categories: Date and time (datetime)
- Countries: global
- Languages: Common to most languages (common)
- Patterns: `ru_quarter`

## Detection

Regular expression (Python `re`):

```
[1234]
```

## Examples

- `1` — First quarter
- `2` — Secord quarter

## Mappings

- cdm: `means.calendar.quarterOfYear`
- fta: `PERIOD.QUARTER`

## Supported by tools

- `fta`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Calendar_year#Quarters>

## Quality

Score 70/100. Missing: longer description, anchored regexp, negative example, translation.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/quarter.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/datetime/quarter.yaml>
