Quarter of the year
ID quarter
DatatypeNot PII
A calendar quarter of the year, as a number (1 to 4) or with the letter Q (Q1 to Q4); statistics also write it with the year (Q1-2015, 2015 Q1).
- Categories
- Date and time
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Microsoft CDM
means.calendar.quarterOfYear- FTA
PERIOD.QUARTER- Quality
- 95/100 · missing: translation
- Metacrafter rules
- 4 rules (3 by field name, 1 by value)
arquarterbytransliteratednamefield, ar/ar_datetime.yamlquarterbynamefield, common/dateandtime.yamlquartervaluedata, common/dateandtime.yamlesquarterbynamefield, es/es_datetime.yaml
- Supported by tools
- FTA (Fast Text Analysis), metacrafter
Regular expression
^[Qq]?[1-4]$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 1 | First quarter |
| 2 | Second quarter |
| Q3 | Third quarter |
| 5 invalid | not a quarter |
Patterns
Specific representations of this datatype.
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| pt_quarter | Quarter of the year (Portuguese: trimestre) pattern | datetime | global | Calendar quarter written in Portuguese with an ordinal number and the word trimestre, optionally followed by the year, as in "4º... |
| ru_quarter | Quarter of the year (Russian) pattern | datetime | RU | Calendar quarter written in Russian with an Arabic or Roman number, optionally followed by the year, for example "1 квартал" or "II... |
Sources
- wikipedia: Calendar year (en.wikipedia.org)
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/quarter - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/datetime/quarter.yamlon GitHub