Year range
ID year_range
DatatypeNot PIIDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Span of calendar years written as two four-digit years joined by a hyphen, such as 2019-2020. It often names a season, an academic or fiscal year, or a reporting period.
- Categories
- Date and time
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- FTA
PERIOD.YEAR_RANGE- Quality
- 93/100 · missing: authoritative source link
- Metacrafter rules
- no detection rule yet
- Supported by tools
- FTA (Fast Text Analysis)
Regular expression
^\d{4}-\d{4}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 2019-2020 | |
| 1914-1918 | |
| 2019-20 invalid | short form of the second year is not covered |
Child datatypes
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| person_life_years | Years of life of a person PII draft | persons, datetime, pii | global | Years of birth and death of a person written as two four-digit years joined by a hyphen or an en dash, such as 1837–1919. A question... |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Диапазон лет |
Sources
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/year_range - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/datetime/year_range.yamlon GitHub