Under Construction
Calendar Description
The Chinese calendar is a lunisolar calendar with 12 lunar months in a common year and 13 in a leap year. The start of the year occurs just before the Northward/Spring equinox and is tied to the Southern/Winter solstice. Months start on the day of the new moon and have 39 or 30 days.
Use Case
- China. This version of the calendar has been in use since 1645.
Definition
Record | ||||
---|---|---|---|---|
cycle | cyear | month | lmonth | day |
Branch | |
---|---|
Value | Name |
1 | zǐ |
2 | chǒu |
3 | yín |
4 | mǎo |
5 | chén |
6 | sì |
7 | wǔ |
8 | wèi |
9 | shēn |
10 | yǒu |
11 | xū |
12 | hài |
Stem | |
---|---|
Value | Name |
1 | Jiǎ |
2 | Yǐ |
3 | Bǐng |
4 | Dīng |
5 | Wù |
6 | Jǐ |
7 | Gēng |
8 | Xīn |
9 | Rén |
10 | Guì |
Field lmonth | ||
---|---|---|
Value | Name | Abbrev. |
0 | Common Month | Month |
1 | Leap Month | Leap |
The Record consists of five Fields named cycle,
cyear,
lmonth,
month,
and day.
There are twelve common months in a year numbered 1 to 12.
The lmonth field is set to 0 for these months.
In a leap year, one of the months will be repeated with the lmonth field set to 1.
Each month starts on day 1, the day of the new moon, and will be 29 or 30 days long.
c | cycle | cyear | month | lmonth | day |
---|---|---|---|---|---|
1 | 1 | 1 | 0 | 1 |
g | year | month | day |
---|---|---|---|
-2636 | 2 | 15 |
jdn | day |
---|---|
758326 |
Script
Default Script |
---|
lexicon cyear { name "Year names"; fieldname cyear; lang en; pseudo Year, Yr; tokens { 1, "Jiǎ-zǐ", "Jia-zi"; 2, "Yǐ-chǒu", "Yi-chou"; 3, "Bǐng-yín", "Bing-yin"; 4, "Dīng-mǎo", "Ding-mao"; 5, "Wù-chén", "Wu-chen"; 6, "Jǐ-sì", "Ji-si"; 7, "Gēng-wǔ", "Geng-wu"; 8, "Xīn-wèi", "Xin-wei"; 9, "Rén-shēn", "Ren-shen"; 10, "Guì-yǒu", "Gui-you"; 11, "Jiǎ-xū", "Jia-xu"; 12, "Yǐ-hài", "Yi-hai"; 13, "Bǐng-zǐ", "Bing-zi"; 14, "Dīng-chǒu", "Ding-chou"; 15, "Wù-yín", "Wu-yin"; 16, "Jǐ-mǎo", "Ji-mao"; 17, "Gēng-chén", "Geng-chen"; 18, "Xīn-sì", "Xin-si"; 19, "Rén-wǔ", "Ren-wu"; 20, "Guì-wèi", "Gui-wei"; 21, "Jiǎ-shēn", "Jia-shen"; 22, "Yǐ-yǒu", "Yi-you"; 23, "Bǐng-xū", "Bing-xu"; 24, "Dīng-hài", "Ding-hai"; 25, "Wù-zǐ", "Wu-zi"; 26, "Jǐ-chǒu", "Ji-chou"; 27, "Gēng-yín", "Geng-yin"; 28, "Xīn-mǎo", "Xin-mao"; 29, "Rén-chén", "Ren-chen"; 30, "Guì-sì", "Gui-si"; 31, "Jiǎ-wǔ", "Jia-wu"; 32, "Yǐ-wèi", "Yi-wei"; 33, "Bǐng-shēn", "Bing-shen"; 34, "Dīng-yǒu", "Ding-you"; 35, "Wù-xū", "Wu-xu"; 36, "Jǐ-hài", "Ji-hai"; 37, "Gēng-zǐ", "Geng-zi"; 38, "Xīn-chǒu", "Xin-chou"; 39, "Rén-yín", "Ren-yin"; 40, "Guì-mǎo", "Gui-mao"; 41, "Jiǎ-chén", "Jia-chen"; 42, "Yǐ-sì", "Yi-si"; 43, "Bǐng-wǔ", "Bing-wu"; 44, "Dīng-wèi", "Ding-wei"; 45, "Wù-shēn", "Wu-shen"; 46, "Jǐ-yǒu", "Ji-you"; 47, "Gēng-xū", "Geng-xu"; 48, "Xīn-hài", "Xin-hai"; 49, "Rén-zǐ", "Ren-zi"; 50, "Guì-chǒu", "Gui-chou"; 51, "Jiǎ-yín", "Jia-yin"; 52, "Yǐ-mǎo", "Yi-mao"; 53, "Bǐng-chén", "Bing-chen"; 54, "Dīng-sì", "Ding-si"; 55, "Wù-wǔ", "Wu-wu"; 56, "Jǐ-wèi", "Ji-wei"; 57, "Gēng-shēn", "Geng-shen"; 58, "Xīn-yǒu", "Xin-you"; 59, "Rén-xū", "Ren-xu"; 60, "Guì-hài", "Gui-hai"; } } lexicon clmon { name "Leap month"; fieldname lmonth; lang en; pseudo LeapMon, LM; tokens { 0, "Month", "Month"; 1, "Leap-month", "Leap"; } } grammar c { lexicons cyear, clmon; alias field { Day, day; Leap, lmonth; Month, month; Year, cyear; Cycle, cycle; } alias pseudo { dd, Day; mm, Month; lm, Leap; yy, Year; cc, Cycle; } format cylmd, "(Cycle),| (Year),| (Leap:clmon:a)| (Month),| (Day)"; format "cylmd+", "(Cycle),| (Year:cyear),| (Leap:clmon:a)| (Month),| (Day)"; format full { output "Cycle (Cycle),| Year (Year:cyear),| (Leap:clmon)| (Month),| Day (Day)"; } } scheme c { name "Chinese"; base chinese; grammar c; } |
The script is not dependent on any other script at this time