Date with year, month and day units (Chinese, Japanese)
ID date_cjk
Pattern of dateNot 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).
Calendar date written in Chinese or Japanese as numbers followed by the units for year (年), month (月) and day (日, or 号 in spoken Chinese), for example 2024年12月25日. Full-width digits are accepted, and a weekday may follow, alone or in brackets, such as (水) or 星期三.
- Pattern of
- Date
date - Categories
- Date and time
- Countries
- Global (not tied to a country)
- Languages
- Chinese, Japanese
- qddate pattern
dt:date:date_cjk- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- qddate
Regular expression
^[0-90-9]{4}年[0-90-9]{1,2}月[0-90-9]{1,2}[日号](?: ?(?:[((](?:星期[一二三四五六日天]|周[一二三四五六日天]|[月火水木金土日](?:曜日?)?)[))]|星期[一二三四五六日天]|周[一二三四五六日天]|[月火水木金土日]曜日))?$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 2024年12月25日 | 25 December 2024 |
| 2024年12月25日 | Full-width digits |
| 2024年12月25日(水) | Japanese, with the weekday Wednesday |
| 2024年12月25日 星期三 | Chinese, with the weekday Wednesday |
| 12月25日 invalid | |
| 2024년 12월 25일 invalid |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Дата с единицами года, месяца и дня (китайский, японский) | Календарная дата на китайском или японском языке: числа с иероглифами года, месяца и дня, например 2024年12月25日. |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Date_and_time_notation_in_Asia#Greater_China
- wikipedia: https://en.wikipedia.org/wiki/Date_and_time_notation_in_Japan
- other: https://github.com/ivbeg/qddate/blob/v1.1.0/qddate/patterns/cjk.py
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/date_cjk - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/datetime/date_cjk.yamlon GitHub