Date (Japanese Calendar)
Standardization Definition
Date (Japanese Calendar) | ||
---|---|---|
Description |
The Date (Japanese Calendar) standardization definition standardizes date expressions to Japanese calendar format (Nengo). |
|
Examples | Input | Output |
2001/3/14 | 平成13年03月14日 | |
Standardize full width characters to half width. | ||
2001年3月14日 | 平成13年03月14日 | |
Standardize calendar identifier to EEYY年MM月DD日 format. | ||
3/14/2001 | 平成13年03月14日 | |
Consider 4-digit number as year. | ||
14-mar-01 | 平成13年03月14日 | |
Standardize month name. When the day and year are ambiguous, consider the last number to be the year. | ||
H13.3.14 | 平成13年03月14日 | |
Standardize Nengo expression. | ||
平成十三年三月十四日 | 平成13年03月14日 | |
Standardize Kanji numbers. | ||
大正十五年一二月二五日 | 昭和元年12月25日 | |
When a day is assigned to two nengo, the later of the two nengo is used. For example, 1926/12/25 is in 昭和元年, 1912/07/30 is in 大正元年. | ||
S01年12月25日 | 昭和元年12月25日 | |
01年 is expressed as 元年. | ||
Remarks | This definition supports dates from 1901 (明治34年) to 2050 (平成62年). If the input year is a two-digit value, it is assumed to be within the hundred year span with 2049 as the end of the span. For example, a year of 49 will be 2049, but a year of 50 will be 1950. |