thisweek_core/month_names.rs
1////////////////////////
2// GREGORIAN CALENDAR //
3////////////////////////
4
5pub const GREGORIAN_MONTH_NAME_EN: [&str; 12] = [
6 "January",
7 "February",
8 "March",
9 "April",
10 "May",
11 "June",
12 "July",
13 "August",
14 "September",
15 "October",
16 "November",
17 "December",
18];
19
20pub const GREGORIAN_MONTH_NAME_FA: [&str; 12] = [
21 "ژانویه",
22 "فوریه",
23 "مارس",
24 "آوریل",
25 "می",
26 "جون",
27 "جولای",
28 "آگوست",
29 "سپتامبر",
30 "اکتبر",
31 "نوامبر",
32 "دسامبر",
33];
34
35/*
36Here is the list of Gregorian months in Chinese, using the standard numerical naming convention:
37This naming system is straightforward, as it simply combines the number of the month with the character **月** (Yuè), meaning "month."
38
391. **一月** (Yīyuè) – January
402. **二月** (Èryuè) – February
413. **三月** (Sānyuè) – March
424. **四月** (Sìyuè) – April
435. **五月** (Wǔyuè) – May
446. **六月** (Liùyuè) – June
457. **七月** (Qīyuè) – July
468. **八月** (Bāyuè) – August
479. **九月** (Jiǔyuè) – September
4810. **十月** (Shíyuè) – October
4911. **十一月** (Shíyīyuè) – November
5012. **十二月** (Shí'èryuè) – December
51*/
52
53pub const GREGORIAN_MONTH_NAME_ZH: [&str; 12] = [
54 "一月",
55 "二月",
56 "三月",
57 "四月",
58 "五月",
59 "六月",
60 "七月",
61 "八月",
62 "九月",
63 "十月",
64 "十一月",
65 "十二月",
66];
67
68// Gregorian months names in Arabic
69
70// January (يَنايِر): Yanāyir
71// February (فِبْرايِر): Fibrāyir
72// March (مارِس): Māris
73// April (أبْريل): Abreel
74// May (مايو): Māyu
75// June (يُونِيُو): Yūniyū
76// July (يُولِيُو): Yūliyū
77// August (أغُسْطُس): Aghustus
78// September (سِبْتَمْبِر): Sibtambir
79// October (أُكْتوبِر): Uktūbir
80// November (نُوفَمْبِر): Nūfambir
81// December (دِيسَمْبِر): Dīsambir
82
83pub const GREGORIAN_MONTH_NAME_AR: [&str; 12] = [
84 "يَنايِر",
85 "فِبْرايِر",
86 "مارِس",
87 "أبْريل",
88 "مايو",
89 "يُونِيُو",
90 "يُولِيُو",
91 "أغُسْطُس",
92 "سِبْتَمْبِر",
93 "أُكْتوبِر",
94 "نُوفَمْبِر",
95 "دِيسَمْبِر",
96];
97
98/////////////////////
99// ARABIC CALENDAR //
100/////////////////////
101
102// Muharram (مُحَرَّم): The first month, meaning “forbidden,” as fighting is prohibited.
103// Safar (صَفَر): The second month, meaning “void,” as homes were often empty during this time.
104// Rabi’ al-Awwal (رَبِيعُ الأَوَّلِ): The third month, meaning “the first spring.”
105// Rabi’ al-Thani (رَبِيعُ الثَّانِي): The fourth month, meaning “the second spring.”
106// Jumada al-Awwal (جُمَادَىٰ الأُولَىٰ): The fifth month, marking the dry period.
107// Jumada al-Thani (جُمَادَىٰ الآخِرَة): The sixth month, marking the end of the dry period.
108// Rajab (رَجَب): The seventh month, a sacred month when fighting is prohibited.
109// Sha’ban (شَعْبَان): The eighth month, leading into Ramadan.
110// Ramadan (رَمَضَان): The ninth and holiest month, known for fasting.
111// Shawwal (شَوَّال): The tenth month, marking the end of Ramadan.
112// Dhu al-Qi’dah (ذُو القَعْدَة): The eleventh month, another sacred month.
113// Dhu al-Hijjah (ذُو الحِجَّة): The twelfth month, during which Hajj takes place.
114
115pub const ARABIC_MONTH_NAME_EN: [&str; 12] = [
116 "Muharram",
117 "Safar",
118 "Rabi’ al-Awwal",
119 "Rabi’ al-Thani",
120 "Jumada al-Awwal",
121 "Jumada al-Thani",
122 "Rajab",
123 "Sha’ban",
124 "Ramadan",
125 "Shawwal",
126 "Dhu al-Qi’dah",
127 "Dhu al-Hijjah",
128];
129
130pub const ARABIC_MONTH_NAME_AR: [&str; 12] = [
131 "مُحَرَّم",
132 "صَفَر",
133 "رَبِيعُ الأَوَّلِ",
134 "رَبِيعُ الثَّانِي",
135 "جُمَادَىٰ الأُولَىٰ",
136 "جُمَادَىٰ الآخِرَة",
137 "رَجَب",
138 "شَعْبَان",
139 "رَمَضَان",
140 "شَوَّال",
141 "ذُو القَعْدَة",
142 "ذُو الحِجَّة",
143];
144
145pub const ARABIC_MONTH_NAME_FA: [&str; 12] = [
146 "محرم",
147 "صفر",
148 "ربیع الاول",
149 "ربیع الثانی",
150 "جمادی الاول",
151 "جمادی الثانی",
152 "رجب",
153 "شعبان",
154 "رمضان",
155 "شوال",
156 "ذیقعده",
157 "ذیحجه",
158];
159
160////////////////////////////
161// CHINESE LUNAR CALENDAR //
162////////////////////////////
163
164/*
165
166In the traditional **Chinese lunar calendar**, the months are named slightly differently than the Gregorian calendar, often associated with festivals or traditional terms. Below is the standard list of lunar months with their representations:
167
1681. **正月** (Zhēngyuè) – First month, often associated with Chinese New Year.
1692. **二月** (Èryuè) – Second month.
1703. **三月** (Sānyuè) – Third month.
1714. **四月** (Sìyuè) – Fourth month.
1725. **五月** (Wǔyuè) – Fifth month, includes the Dragon Boat Festival.
1736. **六月** (Liùyuè) – Sixth month.
1747. **七月** (Qīyuè) – Seventh month, the "Ghost Month" (includes the Ghost Festival).
1758. **八月** (Bāyuè) – Eighth month, includes the Mid-Autumn Festival.
1769. **九月** (Jiǔyuè) – Ninth month, includes the Double Ninth Festival.
17710. **十月** (Shíyuè) – Tenth month.
17811. **冬月** (Dōngyuè) – Eleventh month, "Winter Month."
17912. **腊月** (Làyuè) – Twelfth month, "Waxing Month," leading up to the Lunar New Year.
180
181### Notes:
182- **正月** (Zhēngyuè) and **腊月** (Làyuè) carry cultural significance, marking the start and end of the lunar year.
183- The names for the other months are straightforward numerical terms except for the 11th and 12th months, which have unique names.
184
185In the **Chinese lunar calendar**, a **leap month** (闰月, Rùnyuè) is added approximately every three years to align the lunar calendar with the solar year.
186
187The leap month is represented by adding the character **闰** (Rùn) before the name of the month it repeats. For example:
188
189- **闰正月** (Rùn Zhēngyuè) – Leap First Month
190- **闰二月** (Rùn Èryuè) – Leap Second Month
191- **闰三月** (Rùn Sānyuè) – Leap Third Month
192...and so on, up to **闰腊月** (Rùn Làyuè) – Leap Twelfth Month.
193
194The leap month does not have a fixed position—it depends on astronomical calculations and varies year to year. For instance, in one year, the leap month might be **闰五月** (Leap Fifth Month), while in another, it might be **闰八月** (Leap Eighth Month). This ensures the lunar calendar stays synchronized with the solar year.
195*/
196pub const CHINESE_LEAP_MONTH_PREFIX_ZH: &str = "闰";
197pub const CHINESE_MONTH_NAME_ZH: [&str; 12] = [
198 "正月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "冬月", "腊月",
199];
200
201/*
202// Start Date Traditional Name Earthly Branch Name Modern Name
203//
204// Between Jan 21 - Feb 20 陬月 (zōu yuè) Corner Month 寅月 (yín yuè) Tiger Month 正月 (zhēng yuè) 1st Month
205// Between Feb 20 - Mar 21 杏月 (xìng yuè) Apricot Month 卯月 (mǎo yuè) Rabbit Month 二月 (èr yuè) 2nd Month
206// Between Mar 21 - Apr 20 桃月 (táo yuè) Peach Month 辰月 (chén yuè) Dragon Month 三月 (sān yuè) 3rd Month
207// Between Apr 20 - May 21 梅月 (méi yuè) Plum Flower Month 巳月 (sì yuè) Snake Month 四月 (sì yuè) 4th Month
208// Between May 21 - Jun 21 榴月 (liú yuè) Pomegranate Flower Month 午月 (wǔ yuè) Horse Month 五月 (wǔ yuè) 5th Month
209// Between Jun 21 - Jul 23 荷月 (hé yuè) Lotus Month 未月 (wèi yuè) Goat Month 六月 (liù yuè) 6th Month
210// Between Jul 23 - Aug 23 兰月 (lán yuè) Orchid Month 申月 (shēn yuè) Monkey Month 七月 (qī yuè) 7th Month
211// Between Aug 23 - Sept 23 桂月 (guì yuè) Osmanthus Month 酉月 (yǒu yuè) Rooster Month 八月 (bā yuè) 8th Month
212// Between Sept 23 - Oct 23 菊月 (jú yuè) Chrysanthemum Month 戌月 (xū yuè) Dog Month 九月 (jiǔ yuè) 9th Month
213// Between Oct 23 - Nov 22 露月 (lù yuè) Dew Month 亥月 (hài yuè) Pig Month 十月 (shí yuè) 10th Month
214// Between Nov 22 - Dec 22 冬月 (dōng yuè) Winter Month 子月 (zǐ yuè) Rat Month 十一月 (shí yī yuè) 11th Month
215// Between Dec 22 - Jan 21 冰月 (bīng yuè) Ice Month 丑月 (chǒu yuè) Ox Month 腊月 (là yuè) End-of-the-Year Month, Preserved Meat Month
216*/
217
218pub const CHINESE_LEAP_MONTH_PREFIX_EN: &str = "Leap-";
219pub const CHINESE_MONTH_NAME_EN: [&str; 12] = [
220 "1st-Lunar-Month",
221 "2nd-Lunar-Month",
222 "3rd-Lunar-Month",
223 "4th-Lunar-Month",
224 "5th-Lunar-Month",
225 "6th-Lunar-Month",
226 "7th-Lunar-Month",
227 "8th-Lunar-Month",
228 "9th-Lunar-Month",
229 "10th-Lunar-Month",
230 "11th-Lunar-Month",
231 "12th-Lunar-Month",
232];
233
234////////////////////////////
235// PERSIAN CALENDAR //
236////////////////////////////
237
238pub const PERSIAN_MONTH_NAME_EN: [&str; 12] = [
239 "Farvardin",
240 "Ordibehesht",
241 "Khordad",
242 "Tir",
243 "Mordad",
244 "Shahrivar",
245 "Mehr",
246 "Aban",
247 "Azar",
248 "Dey",
249 "Bahman",
250 "Esfand",
251];
252
253pub const PERSIAN_MONTH_NAME_FA: [&str; 12] = [
254 "فروردین",
255 "اردیبهشت",
256 "خرداد",
257 "تیر",
258 "مرداد",
259 "شهریور",
260 "مهر",
261 "آبان",
262 "آذر",
263 "دی",
264 "بهمن",
265 "اسفند",
266];