holidays 0.61__py3-none-any.whl → 0.63__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- holidays/calendars/thai.py +25 -9
- holidays/constants.py +3 -0
- holidays/countries/__init__.py +1 -0
- holidays/countries/albania.py +2 -4
- holidays/countries/angola.py +24 -29
- holidays/countries/argentina.py +25 -4
- holidays/countries/armenia.py +1 -3
- holidays/countries/aruba.py +2 -4
- holidays/countries/australia.py +1 -0
- holidays/countries/azerbaijan.py +31 -8
- holidays/countries/bahamas.py +2 -4
- holidays/countries/barbados.py +2 -4
- holidays/countries/belarus.py +2 -4
- holidays/countries/belize.py +2 -4
- holidays/countries/bolivia.py +2 -4
- holidays/countries/bosnia_and_herzegovina.py +1 -1
- holidays/countries/botswana.py +1 -3
- holidays/countries/brazil.py +2 -7
- holidays/countries/brunei.py +2 -4
- holidays/countries/bulgaria.py +1 -6
- holidays/countries/burkina_faso.py +3 -5
- holidays/countries/burundi.py +1 -3
- holidays/countries/cambodia.py +8 -11
- holidays/countries/cameroon.py +2 -4
- holidays/countries/canada.py +8 -13
- holidays/countries/chad.py +2 -4
- holidays/countries/chile.py +11 -14
- holidays/countries/china.py +2 -7
- holidays/countries/congo.py +2 -4
- holidays/countries/costa_rica.py +1 -1
- holidays/countries/croatia.py +2 -5
- holidays/countries/cuba.py +2 -4
- holidays/countries/curacao.py +2 -7
- holidays/countries/cyprus.py +1 -9
- holidays/countries/czechia.py +1 -1
- holidays/countries/djibouti.py +2 -4
- holidays/countries/dominica.py +3 -6
- holidays/countries/dominican_republic.py +2 -4
- holidays/countries/eswatini.py +1 -4
- holidays/countries/ethiopia.py +1 -3
- holidays/countries/finland.py +5 -2
- holidays/countries/france.py +19 -3
- holidays/countries/gabon.py +2 -4
- holidays/countries/georgia.py +1 -3
- holidays/countries/germany.py +4 -56
- holidays/countries/ghana.py +1 -4
- holidays/countries/guernsey.py +328 -0
- holidays/countries/haiti.py +2 -8
- holidays/countries/hongkong.py +2 -3
- holidays/countries/hungary.py +2 -2
- holidays/countries/indonesia.py +1 -3
- holidays/countries/iran.py +1 -3
- holidays/countries/ireland.py +1 -3
- holidays/countries/israel.py +3 -21
- holidays/countries/japan.py +2 -6
- holidays/countries/jersey.py +2 -4
- holidays/countries/kazakhstan.py +8 -4
- holidays/countries/kenya.py +1 -3
- holidays/countries/laos.py +2 -13
- holidays/countries/latvia.py +3 -7
- holidays/countries/lesotho.py +1 -3
- holidays/countries/lithuania.py +2 -4
- holidays/countries/madagascar.py +1 -4
- holidays/countries/malawi.py +1 -4
- holidays/countries/malaysia.py +1 -6
- holidays/countries/malta.py +2 -4
- holidays/countries/moldova.py +1 -3
- holidays/countries/mozambique.py +1 -3
- holidays/countries/namibia.py +2 -4
- holidays/countries/netherlands.py +1 -0
- holidays/countries/new_zealand.py +4 -11
- holidays/countries/nigeria.py +1 -3
- holidays/countries/pakistan.py +1 -3
- holidays/countries/palau.py +5 -7
- holidays/countries/papua_new_guinea.py +2 -4
- holidays/countries/paraguay.py +32 -31
- holidays/countries/philippines.py +3 -5
- holidays/countries/poland.py +1 -3
- holidays/countries/portugal.py +1 -0
- holidays/countries/russia.py +1 -3
- holidays/countries/saint_kitts_and_nevis.py +2 -4
- holidays/countries/seychelles.py +2 -4
- holidays/countries/slovakia.py +2 -4
- holidays/countries/slovenia.py +1 -3
- holidays/countries/south_africa.py +2 -4
- holidays/countries/south_korea.py +5 -14
- holidays/countries/switzerland.py +1 -0
- holidays/countries/taiwan.py +1 -3
- holidays/countries/tanzania.py +2 -8
- holidays/countries/thailand.py +500 -216
- holidays/countries/timor_leste.py +4 -8
- holidays/countries/tonga.py +2 -4
- holidays/countries/turkey.py +4 -11
- holidays/countries/ukraine.py +2 -4
- holidays/countries/united_kingdom.py +2 -8
- holidays/countries/united_states.py +27 -23
- holidays/countries/uruguay.py +10 -14
- holidays/countries/uzbekistan.py +1 -2
- holidays/countries/vanuatu.py +2 -4
- holidays/countries/vatican_city.py +1 -3
- holidays/countries/venezuela.py +1 -0
- holidays/countries/zambia.py +1 -4
- holidays/countries/zimbabwe.py +1 -3
- holidays/financial/__init__.py +2 -2
- holidays/financial/brasil_bolsa_balcao.py +4 -6
- holidays/financial/european_central_bank.py +12 -8
- holidays/financial/ice_futures_europe.py +2 -5
- holidays/financial/ny_stock_exchange.py +21 -22
- holidays/holiday_base.py +10 -12
- holidays/locale/en_US/LC_MESSAGES/PY.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/PY.po +18 -14
- holidays/locale/en_US/LC_MESSAGES/TH.mo +0 -0
- holidays/locale/en_US/LC_MESSAGES/TH.po +128 -24
- holidays/locale/es/LC_MESSAGES/PY.mo +0 -0
- holidays/locale/es/LC_MESSAGES/PY.po +17 -13
- holidays/locale/th/LC_MESSAGES/TH.mo +0 -0
- holidays/locale/th/LC_MESSAGES/TH.po +127 -23
- holidays/locale/uk/LC_MESSAGES/PY.mo +0 -0
- holidays/locale/uk/LC_MESSAGES/PY.po +18 -14
- holidays/registry.py +3 -2
- holidays/utils.py +1 -5
- holidays/version.py +1 -1
- {holidays-0.61.dist-info → holidays-0.63.dist-info}/METADATA +14 -9
- {holidays-0.61.dist-info → holidays-0.63.dist-info}/RECORD +128 -127
- {holidays-0.61.dist-info → holidays-0.63.dist-info}/WHEEL +1 -1
- {holidays-0.61.dist-info → holidays-0.63.dist-info}/AUTHORS +0 -0
- {holidays-0.61.dist-info → holidays-0.63.dist-info}/LICENSE +0 -0
- {holidays-0.61.dist-info → holidays-0.63.dist-info}/top_level.txt +0 -0
holidays/countries/thailand.py
CHANGED
|
@@ -13,7 +13,21 @@
|
|
|
13
13
|
from datetime import date
|
|
14
14
|
from gettext import gettext as tr
|
|
15
15
|
|
|
16
|
-
from holidays.calendars.gregorian import
|
|
16
|
+
from holidays.calendars.gregorian import (
|
|
17
|
+
JAN,
|
|
18
|
+
FEB,
|
|
19
|
+
MAR,
|
|
20
|
+
APR,
|
|
21
|
+
MAY,
|
|
22
|
+
JUN,
|
|
23
|
+
JUL,
|
|
24
|
+
AUG,
|
|
25
|
+
SEP,
|
|
26
|
+
OCT,
|
|
27
|
+
NOV,
|
|
28
|
+
DEC,
|
|
29
|
+
_timedelta,
|
|
30
|
+
)
|
|
17
31
|
from holidays.constants import ARMED_FORCES, BANK, GOVERNMENT, PUBLIC, SCHOOL, WORKDAY
|
|
18
32
|
from holidays.groups import InternationalHolidays, StaticHolidays, ThaiCalendarHolidays
|
|
19
33
|
from holidays.observed_holiday_base import (
|
|
@@ -33,6 +47,46 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
33
47
|
|
|
34
48
|
References:
|
|
35
49
|
- Based on: https://en.wikipedia.org/wiki/Public_holidays_in_Thailand
|
|
50
|
+
`Holidays Act (MAR 1914) <https://ratchakitcha.soc.go.th/documents/1044125.pdf>`_
|
|
51
|
+
`Special Extension for MoJ (In-effect 1915 onwards) <https://ratchakitcha.soc.go.th/documents/1046008.pdf>`_
|
|
52
|
+
`Holidays Act Amendment (MAR 1926) <https://ratchakitcha.soc.go.th/documents/1073133.pdf>`_
|
|
53
|
+
`Ascension of HM King Ananda Mahidol (MAR 1935) <https://th.wikisource.org/wiki/ประกาศนายกรัฐมนตรี_ลงวันที่_7_มีนาคม_2477_(รก.)>`_
|
|
54
|
+
`Holidays Act Amendment (JAN 1938) <https://ratchakitcha.soc.go.th/documents/1105432.pdf>`_
|
|
55
|
+
`Translation Typo Fixed for the JAN 1938 Amendment <https://ratchakitcha.soc.go.th/documents/1105491.pdf>`_
|
|
56
|
+
`Constitution Petition Day renamed National Day (JUL 1938) <https://th.wikisource.org/wiki/ประกาศสำนักนายกรัฐมนตรี_ลงวันที่_18_กรกฎาคม_2481>`_
|
|
57
|
+
`Holidays Act Amendment (MAR 1940) <https://ratchakitcha.soc.go.th/documents/1110471.pdf>`_
|
|
58
|
+
`Holidays Act Amendment (SEP 1940) (In-effect 1941) <https://ratchakitcha.soc.go.th/documents/1111954.pdf>`_
|
|
59
|
+
`Removal of Royal Language for King's Birthday (B.E 2484/1941) <https://th.wikisource.org/wiki/ประกาศสำนักนายกรัฐมนตรี_ลงวันที่_19_กันยายน_2484>`_
|
|
60
|
+
`Holidays Act, Franco-Thai War Armistice Day added (B.E. 2485/1942) <https://ratchakitcha.soc.go.th/documents/1114825.pdf>`_
|
|
61
|
+
`Holidays Act, Franco-Thai War Armistice Day Repealed (B.E. 2487/1944) <https://ratchakitcha.soc.go.th/documents/1121365.pdf>`_
|
|
62
|
+
`Removal of Royal Language for King's Birthday Repealed (B.E 2488/1945) <https://th.wikisource.org/wiki/ประกาศสำนักนายกรัฐมนตรี_ลงวันที่_12_มกราคม_2488>`_
|
|
63
|
+
`Holidays Act Amendment (DEC B.E. 2488/1945) <https://ratchakitcha.soc.go.th/documents/1123218.pdf>`_
|
|
64
|
+
`Holidays Act Amendment (AUG B.E. 2489/1946) <https://ratchakitcha.soc.go.th/documents/1124494.pdf>`_
|
|
65
|
+
`Special Weekend Arrangement for 4 Southern Provinces (4SP) <https://ratchakitcha.soc.go.th/documents/1129175.pdf>`_
|
|
66
|
+
`Holidays Act, B.E. 2491 (1948) <https://ratchakitcha.soc.go.th/documents/1130817.pdf>`_
|
|
67
|
+
`Holidays Act (No. 2), B.E. 2493 (1950) <https://ratchakitcha.soc.go.th/documents/1141392.pdf>`_
|
|
68
|
+
`Holidays Act (No. 3), B.E. 2494 (1951) <https://ratchakitcha.soc.go.th/documents/1143601.pdf>`_
|
|
69
|
+
`HM King Bhumibol Adulyadej Birthday Holidays Adjustment <https://ratchakitcha.soc.go.th/documents/1145614.pdf>`_
|
|
70
|
+
`Holidays Act (No. 4), B.E. 2495 (1952) <https://ratchakitcha.soc.go.th/documents/1148403.pdf>`_
|
|
71
|
+
`Holidays Act (No. 6), B.E. 2497 (1954) <https://ratchakitcha.soc.go.th/documents/1159427.pdf>`_
|
|
72
|
+
`Holidays Act (No. 7), B.E. 2497 (1954); United Nations Day added <https://ratchakitcha.soc.go.th/documents/1160256.pdf>`_
|
|
73
|
+
`Holidays Act (No. 8), B.E. 2499 (1956); Mothers Day, Children's Day added <https://ratchakitcha.soc.go.th/documents/1169783.pdf>`_
|
|
74
|
+
`Holidays Act (No. 9), B.E. 2499 (1956); Weekend is now Buddhist Sabbath-SUN <https://ratchakitcha.soc.go.th/documents/1172667.pdf>`_
|
|
75
|
+
`Holidays Act (No. 10), B.E. 2500 (1957); Weekend Change Reverted <https://ratchakitcha.soc.go.th/documents/1179999.pdf>`_
|
|
76
|
+
`Holidays Act (No. 11), B.E. 2500 (1957) <https://ratchakitcha.soc.go.th/documents/1180042.pdf>`_
|
|
77
|
+
`Holidays Act (No. 12), B.E. 2502 (1959); Weekend is full day SAT-SUN <https://ratchakitcha.soc.go.th/documents/1187876.pdf>`_
|
|
78
|
+
`Holidays Act (No. 13), B.E. 2503 (1960); National Day is now Dec 5 <https://ratchakitcha.soc.go.th/documents/1196364.pdf>`_
|
|
79
|
+
`Holidays Act (No. 14), B.E. 2505 (1962); Asarnha Bucha added <https://ratchakitcha.soc.go.th/documents/1206407.pdf>`_
|
|
80
|
+
`Holidays Act (No. 16), B.E. 2506 (1963); 4SP weekend is now SAT-SUN <https://hr.rid.go.th/wp-content/uploads/2022/12/06-16.pdf>`_
|
|
81
|
+
`Eid-al-Fitr and Eit al-Adha added for 4SP <https://hr.rid.go.th/wp-content/uploads/2022/12/05-2517.pdf>`_
|
|
82
|
+
`Holidays Act (No. 17), B.E. 2525 (1982); Chakri Day Full Name Changed <https://ratchakitcha.soc.go.th/documents/1494132.pdf>`_
|
|
83
|
+
`Holidays Act (No. 19), B.E. 2540 (1997); Songkran Date Changed <https://ratchakitcha.soc.go.th/documents/1685580.pdf>`_
|
|
84
|
+
`Holidays Act (No. 20), B.E. 2555 (2012); CNY in 4SP <https://ratchakitcha.soc.go.th/documents/1914282.pdf>`_
|
|
85
|
+
`Holidays Act (No. 21), B.E. 2556 (2013); Songkhla added to 4SP <https://ratchakitcha.soc.go.th/documents/2098813.pdf>`_
|
|
86
|
+
`Holidays Act (No. 22), B.E. 2560 (2017); Father's Day Date Clarification <https://ratchakitcha.soc.go.th/documents/2098828.pdf>`_
|
|
87
|
+
`Holidays Act (No. 23), B.E. 2560 (2017); Rama X's Birthday added <https://ratchakitcha.soc.go.th/documents/2104467.pdf>`_
|
|
88
|
+
`HM Queen Suthida's Birthday added <https://ratchakitcha.soc.go.th/documents/17081602.pdf>`_
|
|
89
|
+
`Holidays Act, B.E. 2562 (2019) <https://ratchakitcha.soc.go.th/documents/17082311.pdf>`_
|
|
36
90
|
- Checked with: `Bank of Thailand lists <http://tiny.cc/wa_bot_2023>`_
|
|
37
91
|
- [In Lieus]
|
|
38
92
|
- `isranews.org <http://tiny.cc/wa_isranews_inlieu_hist>`_
|
|
@@ -69,12 +123,14 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
69
123
|
https://www.matichon.co.th/politics/news_526200
|
|
70
124
|
- [HM King Chulalongkorn Memorial Day]
|
|
71
125
|
`<https://th.wikipedia.org/wiki/วันปิยมหาราช>`_
|
|
126
|
+
- https://www.sanook.com/news/9072518/
|
|
72
127
|
- [HM King Bhumibol Adulyadej's Birthday]
|
|
73
128
|
- `Ministry of Culture <http://tiny.cc/wa_mincul_nat_day>`_
|
|
74
129
|
- https://hilight.kapook.com/view/148862
|
|
75
130
|
- [National Father's Day]
|
|
76
131
|
https://www.brh.go.th/index.php/2019-02-27-04-12-21/594-5-5
|
|
77
132
|
- [Constitution Day]
|
|
133
|
+
- https://th.wikipedia.org/wiki/วันรัฐธรรมนูญ_(ประเทศไทย)
|
|
78
134
|
- https://hilight.kapook.com/view/18208
|
|
79
135
|
- `Bank of Thailand <http://tiny.cc/wa_bot_1992>`_
|
|
80
136
|
- `<https://www.myhora.com/ปฏิทิน/ปฏิทิน-พ.ศ.2475.aspx>`_
|
|
@@ -121,13 +177,8 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
121
177
|
- This is only 100% accurate for 1997-2025; any future dates are up to the
|
|
122
178
|
Royal Thai Government Gazette which updates on a year-by-year basis.
|
|
123
179
|
|
|
124
|
-
-
|
|
125
|
-
|
|
126
|
-
New Year Date (April 1st to January 1st).
|
|
127
|
-
|
|
128
|
-
- Thai Lunar Calendar Holidays only work from 1941 (B.E. 2484) onwards
|
|
129
|
-
until 2157 (B.E. 2700) as we only have Thai year-type data for
|
|
130
|
-
cross-checking until then.
|
|
180
|
+
- Thai Lunar Calendar Holidays only work until 2157 (B.E. 2700) as we only
|
|
181
|
+
have Thai year-type data for cross-checking until then.
|
|
131
182
|
|
|
132
183
|
- Royal Ploughing Ceremony Day is date is announced on an annual basis
|
|
133
184
|
by the Court Astrologers, thus need an annual update to the library here
|
|
@@ -143,6 +194,8 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
143
194
|
# %s (in lieu).
|
|
144
195
|
observed_label = tr("ชดเชย%s")
|
|
145
196
|
supported_languages = ("en_US", "th")
|
|
197
|
+
# First Holiday Decree was promulgated in March 1914.
|
|
198
|
+
start_year = 1914
|
|
146
199
|
|
|
147
200
|
def __init__(self, *args, **kwargs):
|
|
148
201
|
InternationalHolidays.__init__(self)
|
|
@@ -155,70 +208,115 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
155
208
|
return 1961 <= self._year <= 1973 or 1995 <= self._year <= 1997 or self._year >= 2001
|
|
156
209
|
|
|
157
210
|
def _populate_public_holidays(self):
|
|
158
|
-
# Due to Thai Calendar Migration, this is capped off at 1941.
|
|
159
|
-
# But certain holidays were implemented before 1941.
|
|
160
|
-
if self._year <= 1940:
|
|
161
|
-
return None
|
|
162
|
-
|
|
163
211
|
# Fixed Date Holidays
|
|
164
212
|
|
|
165
213
|
# วันขึ้นปีใหม่
|
|
166
214
|
# Status: In-Use.
|
|
167
215
|
# Starts in the present form in 1941 (B.E. 2484).
|
|
168
|
-
#
|
|
216
|
+
# From 1941-1945 and 1948-1954 JAN 2nd was also observed.
|
|
217
|
+
# For pre- observance, see New Year's Eve entry.
|
|
169
218
|
|
|
170
|
-
|
|
171
|
-
|
|
219
|
+
if self._year >= 1941:
|
|
220
|
+
# New Year's Day.
|
|
221
|
+
name = tr("วันขึ้นปีใหม่")
|
|
222
|
+
self._add_observed(self._add_new_years_day(name))
|
|
223
|
+
if self._year <= 1945 or 1948 <= self._year <= 1954:
|
|
224
|
+
self._add_new_years_day_two(name)
|
|
172
225
|
|
|
173
226
|
# วันเด็กแห่งชาติ
|
|
174
227
|
# Status: In-Use.
|
|
175
|
-
# Starts in 1955 as the 1st Monday of
|
|
228
|
+
# Starts in 1955 (B.E. 2498) as the 1st Monday of OCT.
|
|
229
|
+
# Its status as a Public Holiday was reaffirmed in 1956.
|
|
176
230
|
# No event was held in 1964 due to date changes came into effect too late.
|
|
177
|
-
# Moved to 2nd Saturday of
|
|
231
|
+
# Moved to 2nd Saturday of JAN since 1965.
|
|
178
232
|
# No in-lieus are observed, and still remain a Public Holidays than just Observed.
|
|
179
233
|
|
|
180
234
|
if self._year >= 1955 and self._year != 1964:
|
|
181
|
-
# National Children's Day
|
|
182
|
-
|
|
235
|
+
# National Children's Day.
|
|
236
|
+
name = tr("วันเด็กแห่งชาติ")
|
|
183
237
|
if self._year <= 1963:
|
|
184
|
-
self._add_holiday_1st_mon_of_oct(
|
|
238
|
+
self._add_holiday_1st_mon_of_oct(name)
|
|
185
239
|
else:
|
|
186
|
-
self._add_holiday_2nd_sat_of_jan(
|
|
240
|
+
self._add_holiday_2nd_sat_of_jan(name)
|
|
187
241
|
|
|
188
|
-
#
|
|
189
|
-
# Status:
|
|
190
|
-
#
|
|
191
|
-
# TODO: Add check for 1918 if we support earlier dates.
|
|
242
|
+
# วันลงนามในสัญญาพักรบระหว่างประเทศไทยกับประเทศอินโดจีนฝรั่งเศส
|
|
243
|
+
# Status: Defunct.
|
|
244
|
+
# Started in 1942 (B.E. 2485), abandoned from 1945 onwards.
|
|
192
245
|
|
|
193
|
-
|
|
194
|
-
|
|
246
|
+
if 1942 <= self._year <= 1944:
|
|
247
|
+
# Franco-Thai War Armistice Day.
|
|
248
|
+
self._add_holiday_jan_28(tr("วันลงนามในสัญญาพักรบระหว่างประเทศไทยกับประเทศอินโดจีนฝรั่งเศส"))
|
|
195
249
|
|
|
196
|
-
#
|
|
250
|
+
# วันจักรี
|
|
197
251
|
# Status: In-Use.
|
|
198
|
-
#
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
252
|
+
# Starts in present form in 1926 (B.E. 2469).
|
|
253
|
+
|
|
254
|
+
if self._year >= 1926:
|
|
255
|
+
if self._year >= 1983:
|
|
256
|
+
# Chakri Memorial Day.
|
|
257
|
+
name = tr("วันพระบาทสมเด็จพระพุทธยอดฟ้าจุฬาโลกมหาราช และวันที่ระลึกมหาจักรีบรมราชวงศ์")
|
|
258
|
+
elif self._year >= 1938:
|
|
259
|
+
# Chakri Day.
|
|
260
|
+
name = tr("วันจักรี")
|
|
261
|
+
else:
|
|
262
|
+
# Maha Chakri Memorial Day.
|
|
263
|
+
name = tr("วันที่ระลึกมหาจักรี")
|
|
264
|
+
self._add_observed(self._add_holiday_apr_6(name))
|
|
265
|
+
|
|
266
|
+
# พระราชพิธีตะรุษะสงกรานต์ แลนักขัตฤกษ์ (1914-1925)
|
|
267
|
+
# ตะรุษะสงกรานต์ (1926-1937)
|
|
268
|
+
# วันตรุษสงกรานต์ (1938-1939)
|
|
269
|
+
# วันตรุษสงกรานต์และขึ้นปีใหม่ (1940)
|
|
270
|
+
# วันสงกรานต์ (1941-Present)
|
|
271
|
+
# Status: In-Use.
|
|
272
|
+
# Started in 1914 (B.E. 2457).
|
|
273
|
+
# Earliest form of Songkran public holidays was observed from MAR 28th to APR 15th
|
|
274
|
+
# (19 days). Later extended for MoJ staff only upto APR 27th from 1915 (30 days).
|
|
275
|
+
# - 1926-1937, celebrated on MAR 31st-APR 3rd.
|
|
276
|
+
# - 1938-1940, celebrated on MAR 31st-APR 2nd.
|
|
277
|
+
# - 1941-1947, abandoned as a public holiday.
|
|
278
|
+
# - 1948-1953, celebrated on APR 13th-15th.
|
|
279
|
+
# - 1954-1956, abandoned as a public holiday.
|
|
280
|
+
# - 1957-1988, only celebrated on APR 13th.
|
|
281
|
+
# - 1989-1997, celebrated on APR 12th-14th.
|
|
282
|
+
# - 1998-Present, celebrated on APR 13th-15th.
|
|
206
283
|
# (Except for 2020 due to Covid-19 outbreaks)
|
|
207
284
|
# This has its own in-lieu trigger.
|
|
208
285
|
|
|
209
|
-
if 1948 <= self._year <= 1953 or 1957 <= self._year != 2020:
|
|
286
|
+
if self._year <= 1940 or 1948 <= self._year <= 1953 or 1957 <= self._year != 2020:
|
|
210
287
|
# Songkran Festival.
|
|
211
|
-
|
|
212
|
-
if
|
|
213
|
-
self.
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
self.
|
|
288
|
+
name = tr("วันสงกรานต์")
|
|
289
|
+
if 1989 <= self._year <= 1997:
|
|
290
|
+
dt = self._add_holiday_apr_12(name)
|
|
291
|
+
self._add_holiday_apr_13(name)
|
|
292
|
+
self._add_holiday_apr_14(name)
|
|
293
|
+
elif 1957 <= self._year <= 1988:
|
|
294
|
+
self._add_observed(self._add_holiday_apr_13(name))
|
|
295
|
+
elif 1926 <= self._year <= 1940:
|
|
296
|
+
if self._year == 1940:
|
|
297
|
+
# Songkran New Year.
|
|
298
|
+
name = tr("วันตรุษสงกรานต์และขึ้นปีใหม่")
|
|
299
|
+
elif self._year >= 1938:
|
|
300
|
+
# Songkran New Year.
|
|
301
|
+
name = tr("วันตรุษสงกรานต์")
|
|
302
|
+
else:
|
|
303
|
+
# Songkran New Year.
|
|
304
|
+
name = tr("ตะรุษะสงกรานต์")
|
|
305
|
+
self._add_holiday_mar_31(name)
|
|
306
|
+
self._add_holiday_apr_1(name)
|
|
307
|
+
self._add_holiday_apr_2(name)
|
|
308
|
+
if self._year <= 1937:
|
|
309
|
+
self._add_holiday_apr_3(name)
|
|
310
|
+
elif self._year <= 1925:
|
|
311
|
+
# Songkran New Year Holidays.
|
|
312
|
+
name = tr("พระราชพิธีตะรุษะสงกรานต์ แลนักขัตฤกษ์")
|
|
313
|
+
dt = self._add_holiday_mar_28(name)
|
|
314
|
+
for delta in range(1, 19):
|
|
315
|
+
self._add_holiday(name, _timedelta(dt, delta))
|
|
218
316
|
else:
|
|
219
|
-
dt = self._add_holiday_apr_13(
|
|
220
|
-
self._add_holiday_apr_14(
|
|
221
|
-
self._add_holiday_apr_15(
|
|
317
|
+
dt = self._add_holiday_apr_13(name)
|
|
318
|
+
self._add_holiday_apr_14(name)
|
|
319
|
+
self._add_holiday_apr_15(name)
|
|
222
320
|
|
|
223
321
|
# วันหยุดชดเชยวันสงกรานต์
|
|
224
322
|
# If Songkran happened to be held on the weekends, only one in-lieu
|
|
@@ -243,32 +341,76 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
243
341
|
# National Labor Day.
|
|
244
342
|
self._add_observed(self._add_labor_day(tr("วันแรงงานแห่งชาติ")))
|
|
245
343
|
|
|
246
|
-
#
|
|
344
|
+
# วันขอพระราชทานรัฐธรรมนูญ (1938-1939)
|
|
345
|
+
# วันชาติ (1940-Present)
|
|
247
346
|
# Status: In-Use.
|
|
248
|
-
#
|
|
249
|
-
#
|
|
250
|
-
#
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
347
|
+
# Started as Constitution Petition Day in 1938 (B.E. 2481) for JUN 24th.
|
|
348
|
+
# Got its current name in 1940 by Plaek Phibunsongkhram.
|
|
349
|
+
# This was observed JUN 23th-25th between 1940-1948.
|
|
350
|
+
# Moved to Rama IX's birthday in 1960 (B.E. 2503) by Sarit Thanarat.
|
|
351
|
+
|
|
352
|
+
if self._year >= 1938:
|
|
353
|
+
name = (
|
|
354
|
+
# National Day.
|
|
355
|
+
tr("วันชาติ")
|
|
356
|
+
if self._year >= 1939
|
|
357
|
+
# Constitution Petition Day.
|
|
358
|
+
else tr("วันขอพระราชทานรัฐธรรมนูญ")
|
|
359
|
+
)
|
|
360
|
+
self._add_observed(
|
|
361
|
+
self._add_holiday_jun_24(name)
|
|
362
|
+
if self._year <= 1959
|
|
363
|
+
else self._add_holiday_dec_5(name)
|
|
364
|
+
)
|
|
365
|
+
if 1940 <= self._year <= 1948 or 1952 <= self._year <= 1953:
|
|
366
|
+
self._add_holiday_jun_23(name)
|
|
367
|
+
self._add_holiday_jun_25(name)
|
|
267
368
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
369
|
+
# วันรัฐธรรมนูญชั่วคราว
|
|
370
|
+
# Status: Defunct.
|
|
371
|
+
# Started in 1938, abandoned in 1940.
|
|
372
|
+
|
|
373
|
+
if 1938 <= self._year <= 1939:
|
|
374
|
+
# Provisional Constitution Day.
|
|
375
|
+
self._add_holiday_jun_27(tr("วันรัฐธรรมนูญชั่วคราว"))
|
|
376
|
+
|
|
377
|
+
# ทำบุญพระบรมอัษฐิ และพระราชพิธีฉัตรมงคล (1914-1925)
|
|
378
|
+
# พระราชพิธีฉัตรมงคล (1926-1937)
|
|
379
|
+
# วันฉัตรมงคล (1958-Present)
|
|
380
|
+
# First observed for Rama VI from 1914-1925 from NOV 9th-12th.
|
|
381
|
+
# For Rama VII (1926-1935) this was FEB 24th-26th.
|
|
382
|
+
# After Rama VII abdicated on MAR 2nd, 1935, there's no recorded
|
|
383
|
+
# change in terms of holiday arrangement until 1938,
|
|
384
|
+
# thus, a gap in holidays arrangement is assumed.
|
|
385
|
+
# Rama VIII passes away without a coronation ceremony.
|
|
386
|
+
# Starts in 1958 (B.E. 2501) for Rama IX's Coronation: MAY 5th.
|
|
387
|
+
# No celebration in 2017-2019 (B.E. 2560-2562).
|
|
388
|
+
# Reestablished with Rama X's Coronation in 2020: MAY 4th.
|
|
389
|
+
|
|
390
|
+
if self._year <= 1935 or self._year >= 1958:
|
|
391
|
+
# Coronation Day.
|
|
392
|
+
name = tr("วันฉัตรมงคล")
|
|
393
|
+
if self._year >= 2020:
|
|
394
|
+
# Rama X (2020-Present).
|
|
395
|
+
self._add_observed(self._add_holiday_may_4(name))
|
|
396
|
+
elif 1958 <= self._year <= 2016:
|
|
397
|
+
# Rama IX (1958-2016).
|
|
398
|
+
self._add_observed(self._add_holiday_may_5(name))
|
|
399
|
+
elif 1926 <= self._year <= 1935:
|
|
400
|
+
# Coronation Day.
|
|
401
|
+
name = tr("พระราชพิธีฉัตรมงคล")
|
|
402
|
+
# Rama VII (1926-1935).
|
|
403
|
+
self._add_holiday_feb_24(name)
|
|
404
|
+
self._add_holiday_feb_25(name)
|
|
405
|
+
self._add_holiday_feb_26(name)
|
|
406
|
+
elif self._year <= 1925:
|
|
407
|
+
# Merit-making Ceremony for the Royal Ashes and the Coronation Day.
|
|
408
|
+
name = tr("ทำบุญพระบรมอัษฐิ และพระราชพิธีฉัตรมงคล")
|
|
409
|
+
# Rama VI (1914-1925).
|
|
410
|
+
self._add_holiday_nov_9(name)
|
|
411
|
+
self._add_holiday_nov_10(name)
|
|
412
|
+
self._add_holiday_nov_11(name)
|
|
413
|
+
self._add_holiday_nov_12(name)
|
|
272
414
|
|
|
273
415
|
# วันเฉลิมพระชนมพรรษา พระราชินี
|
|
274
416
|
# Status: In-Use.
|
|
@@ -284,7 +426,7 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
284
426
|
|
|
285
427
|
# วันเฉลิมพระชนมพรรษา รัชกาลที่ 10
|
|
286
428
|
# Status: In-Use.
|
|
287
|
-
# Started in 2017 (B.E 2560).
|
|
429
|
+
# Started in 2017 (B.E. 2560).
|
|
288
430
|
|
|
289
431
|
if self._year >= 2017:
|
|
290
432
|
self._add_observed(
|
|
@@ -297,7 +439,7 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
297
439
|
)
|
|
298
440
|
)
|
|
299
441
|
|
|
300
|
-
# วันเฉลิมพระชนมพรรษา พระบรมราชินีนาถ (
|
|
442
|
+
# วันเฉลิมพระชนมพรรษา พระบรมราชินีนาถ (1976-2017)
|
|
301
443
|
# วันเฉลิมพระชนมพรรษา พระบรมราชชนนีพันปีหลวง (2017-Present)
|
|
302
444
|
# Status: In-Use.
|
|
303
445
|
# Started in 1976 (B.E. 2519) alongside Mother's Day.
|
|
@@ -305,90 +447,173 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
305
447
|
# Now acts as the Queen Mother from 2017 onwards.
|
|
306
448
|
|
|
307
449
|
if self._year >= 1976:
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
450
|
+
self._add_observed(
|
|
451
|
+
self._add_holiday_aug_12(
|
|
452
|
+
# HM Queen Sirikit the Queen Mother's Birthday.
|
|
453
|
+
tr("วันเฉลิมพระชนมพรรษาสมเด็จพระบรมราชชนนีพันปีหลวง")
|
|
454
|
+
if self._year >= 2017
|
|
455
|
+
# HM Queen Sirikit's Birthday.
|
|
456
|
+
else tr("วันเฉลิมพระชนมพรรษาสมเด็จพระนางเจ้าสิริกิติ์ พระบรมราชินีนาถ")
|
|
457
|
+
)
|
|
314
458
|
)
|
|
315
|
-
self._add_observed(self._add_holiday_aug_12(q_sirikit_bday))
|
|
316
459
|
|
|
317
460
|
# วันแม่แห่งชาติ
|
|
318
461
|
# Status: In-Use.
|
|
319
|
-
# Started 1950 (B.E 2493) initially as
|
|
320
|
-
# 1958 (B.E 2501) when the Min. of Culture was abolished.
|
|
462
|
+
# Started 1950 (B.E. 2493) initially as APR 15th and cancelled in
|
|
463
|
+
# 1958 (B.E. 2501) when the Min. of Culture was abolished.
|
|
464
|
+
# Its status as a Public Holiday was reaffirmed in 1956.
|
|
321
465
|
# Restarts again in 1976 (B.E. 2519) on Queen Sirikit's Birthday
|
|
322
|
-
# (
|
|
466
|
+
# (AUG 12th) and stay that way from that point onwards.
|
|
323
467
|
|
|
324
468
|
# National Mother's Day.
|
|
325
|
-
|
|
326
|
-
|
|
469
|
+
name = tr("วันแม่แห่งชาติ")
|
|
327
470
|
if 1950 <= self._year <= 1957:
|
|
328
|
-
self._add_observed(self._add_holiday_apr_15(
|
|
471
|
+
self._add_observed(self._add_holiday_apr_15(name))
|
|
329
472
|
elif self._year >= 1976:
|
|
330
|
-
self._add_observed(self._add_holiday_aug_12(
|
|
473
|
+
self._add_observed(self._add_holiday_aug_12(name))
|
|
331
474
|
|
|
332
|
-
#
|
|
475
|
+
# วันประกาศสันติภาพ
|
|
476
|
+
# Status: Defunct.
|
|
477
|
+
# Started in 1946 (B.E. 2489), removed in 1948.
|
|
478
|
+
|
|
479
|
+
if 1946 <= self._year <= 1947:
|
|
480
|
+
# Peace Proclamation Day.
|
|
481
|
+
self._add_holiday_aug_16(tr("วันประกาศสันติภาพ"))
|
|
482
|
+
|
|
483
|
+
# วันคล้ายวันสวรรคตพระบาทสมเด็จพระปรมินทรมหาภูมิพลอดุลยเดช บรมนาถบพิตร (2017-2018)
|
|
484
|
+
# วันคล้ายวันสวรรคตพระบาทสมเด็จพระบรมชนกาธิเบศร มหาภูมิพลอดุลยเดชมหาราช บรมนาถบพิตร (2019-2022)
|
|
485
|
+
# วันนวมินทรมหาราช (2023-Present)
|
|
333
486
|
# Status: In-Use.
|
|
334
|
-
# Started in 2017 (B.E 2560).
|
|
487
|
+
# Started in 2017 (B.E. 2560).
|
|
335
488
|
# Got conferred with 'the Great' title in 2019 (B.E. 2562).
|
|
336
489
|
|
|
337
490
|
if self._year >= 2017:
|
|
338
491
|
if self._year >= 2023:
|
|
339
492
|
# HM King Bhumibol Adulyadej Memorial Day.
|
|
340
|
-
|
|
493
|
+
name = tr("วันนวมินทรมหาราช")
|
|
341
494
|
elif self._year >= 2019:
|
|
342
495
|
# Anniversary for the Death of King Bhumibol Adulyadej the Great.
|
|
343
|
-
|
|
496
|
+
name = tr(
|
|
344
497
|
"วันคล้ายวันสวรรคตพระบาทสมเด็จพระบรมชนกาธิเบศร มหาภูมิพลอดุลยเดชมหาราช บรมนาถบพิตร"
|
|
345
498
|
)
|
|
346
499
|
else:
|
|
347
500
|
# Anniversary for the Death of King Bhumibol Adulyadej.
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
)
|
|
351
|
-
self._add_observed(self._add_holiday_oct_13(k_bhumibol_memorial))
|
|
501
|
+
name = tr("วันคล้ายวันสวรรคตพระบาทสมเด็จพระปรมินทรมหาภูมิพลอดุลยเดช บรมนาถบพิตร")
|
|
502
|
+
self._add_observed(self._add_holiday_oct_13(name))
|
|
352
503
|
|
|
353
|
-
#
|
|
504
|
+
# ทำบุญพระบรมอัษฐิพระพุทธเจ้าหลวง (1914-1925)
|
|
505
|
+
# วันสวรรคตแห่งพระบาทสมเด็จพระพุทธเจ้าหลวง (1926-1937)
|
|
506
|
+
# วันปิยมหาราช (1946-Present)
|
|
354
507
|
# Status: In-Use.
|
|
355
|
-
# Started in
|
|
356
|
-
#
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
508
|
+
# Started in 1914 (B.E. 2457).
|
|
509
|
+
# Was abandoned between 1938-1945.
|
|
510
|
+
|
|
511
|
+
if self._year <= 1937 or self._year >= 1946:
|
|
512
|
+
if self._year >= 1946:
|
|
513
|
+
# HM King Chulalongkorn Memorial Day.
|
|
514
|
+
name = tr("วันปิยมหาราช")
|
|
515
|
+
elif self._year >= 1926:
|
|
516
|
+
# Anniversary for the Death of HM King Chulalongkorn.
|
|
517
|
+
name = tr("วันสวรรคตแห่งพระบาทสมเด็จพระพุทธเจ้าหลวง")
|
|
518
|
+
else:
|
|
519
|
+
# Merit-making Ceremony for the Royal Ashes of HM King Chulalongkorn.
|
|
520
|
+
name = tr("ทำบุญพระบรมอัษฐิพระพุทธเจ้าหลวง")
|
|
521
|
+
self._add_observed(self._add_holiday_oct_23(name))
|
|
360
522
|
|
|
523
|
+
# วันสหประชาชาติ
|
|
524
|
+
# Status: Defunct.
|
|
525
|
+
# Added since 1951 (B.E. 2494), removed in 1957.
|
|
526
|
+
# Technically removed in 1954, but was re-added soon after.
|
|
527
|
+
|
|
528
|
+
if 1951 <= self._year <= 1956:
|
|
529
|
+
# United Nations Day.
|
|
530
|
+
self._add_united_nations_day(tr("วันสหประชาชาติ"))
|
|
531
|
+
|
|
532
|
+
# เฉลิมพระชนมพรรษา (1914-1925)
|
|
533
|
+
# เฉลิมพระชนม์พรรษา (1926-1937)
|
|
534
|
+
# วันเฉลิมพระชนม์พรรษา (1938-1940)
|
|
535
|
+
# วันเกิดในสมเด็จพระเจ้าอยู่หัว (1941-1944)**
|
|
536
|
+
# วันเฉลิมพระชนมพรรษา (1945-1959)
|
|
361
537
|
# วันเฉลิมพระชนมพรรษา รัชกาลที่ 9 (1960-2016)
|
|
362
538
|
# วันคล้ายวันเฉลิมพระชนมพรรษา รัชกาลที่ 9 (2017-Present)
|
|
363
539
|
# Status: In-Use.
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
#
|
|
540
|
+
# Rama VI's Birthday was observed from DEC 30th-JAN 3rd between 1914-1925.
|
|
541
|
+
# Rama VII's Birthday was observed from NOV 7th-9th between 1926-1934.
|
|
542
|
+
# After Rama VII abdicated on MAR 2nd, 1935, there's no recorded
|
|
543
|
+
# change in terms of holiday arrangement until 1938,
|
|
544
|
+
# thus, a gap in holidays arrangement is assumed.
|
|
545
|
+
# Rama VIII's Birthday was observed on SEP 20th between 1938-1945.
|
|
546
|
+
# Between 1940-1945 the 2nd day (SEP 21st) was also observed as well.
|
|
547
|
+
# Rama IX's Birthday was observed from 1946-Present.
|
|
548
|
+
# Between 1946-1953 DEC 6th was also observed. From 1948 onwards DEC 4th
|
|
549
|
+
# was observed too except in 1951 when it was temporarily moved to DEC 7th.
|
|
550
|
+
# Replaced National Day (JUN 26th) in 1960 (B.E. 2503) by Sarit Thanarat.
|
|
551
|
+
# Confirmed as still in-use as Rama IX's in 2017.
|
|
552
|
+
# Rama IX got conferred with 'the Great' title in 2019 (B.E. 2562).
|
|
553
|
+
# For historical purpose, 1926-1940 entry uses the old spelling.
|
|
554
|
+
# **Official naming was override by "Birthday Name Decree" between 1941-1944.
|
|
367
555
|
|
|
368
|
-
if self._year >=
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
556
|
+
if self._year >= 2019:
|
|
557
|
+
# HM King Bhumibol Adulyadej the Great's Birthday Anniversary.
|
|
558
|
+
name = tr(
|
|
559
|
+
"วันคล้ายวันเฉลิมพระชนมพรรษาพระบาทสมเด็จพระบรมชนกาธิเบศร "
|
|
560
|
+
"มหาภูมิพลอดุลยเดชมหาราช บรมนาถบพิตร"
|
|
561
|
+
)
|
|
562
|
+
elif self._year >= 2016:
|
|
563
|
+
# HM King Bhumibol Adulyadej Birthday Anniversary.
|
|
564
|
+
name = tr("วันคล้ายวันเฉลิมพระชนมพรรษาพระบาทสมเด็จพระปรมินทรมหาภูมิพลอดุลยเดช บรมนาถบพิตร")
|
|
565
|
+
elif self._year >= 1960:
|
|
566
|
+
# HM King Bhumibol Adulyadej Birthday Anniversary.
|
|
567
|
+
name = tr("วันเฉลิมพระชนมพรรษาพระบาทสมเด็จพระปรมินทรมหาภูมิพลอดุลยเดช บรมนาถบพิตร")
|
|
568
|
+
elif self._year >= 1945:
|
|
569
|
+
# The King's Birthday.
|
|
570
|
+
name = tr("วันเฉลิมพระชนมพรรษา")
|
|
571
|
+
elif self._year >= 1941:
|
|
572
|
+
# The King's Birthday.
|
|
573
|
+
name = tr("วันเกิดในสมเด็จพระเจ้าอยู่หัว")
|
|
574
|
+
elif self._year >= 1938:
|
|
575
|
+
# The King's Birthday.
|
|
576
|
+
name = tr("วันเฉลิมพระชนม์พรรษา")
|
|
577
|
+
elif self._year >= 1926:
|
|
578
|
+
# The King's Birthday.
|
|
579
|
+
name = tr("เฉลิมพระชนม์พรรษา")
|
|
580
|
+
else:
|
|
581
|
+
# The King's Birthday.
|
|
582
|
+
name = tr("เฉลิมพระชนมพรรษา")
|
|
583
|
+
|
|
584
|
+
if self._year >= 1946:
|
|
585
|
+
# Rama IX (1946-2016; In Memoriam 2017-Present).
|
|
586
|
+
self._add_observed(self._add_holiday_dec_5(name))
|
|
587
|
+
if self._year <= 1953:
|
|
588
|
+
self._add_holiday_dec_6(name)
|
|
589
|
+
if self._year == 1951:
|
|
590
|
+
self._add_holiday_dec_7(name)
|
|
591
|
+
elif self._year >= 1948:
|
|
592
|
+
self._add_holiday_dec_4(name)
|
|
593
|
+
elif self._year >= 1938:
|
|
594
|
+
# Rama VIII (1938*-1945).
|
|
595
|
+
# *There was no decree confirming his holiday until 1938.
|
|
596
|
+
self._add_holiday_sep_20(name)
|
|
597
|
+
if self._year >= 1940:
|
|
598
|
+
self._add_holiday_sep_21(name)
|
|
599
|
+
elif 1926 <= self._year <= 1934:
|
|
600
|
+
# Rama VII (1926-1934).
|
|
601
|
+
self._add_holiday_nov_7(name)
|
|
602
|
+
self._add_holiday_nov_8(name)
|
|
603
|
+
self._add_holiday_nov_9(name)
|
|
604
|
+
elif self._year <= 1925:
|
|
605
|
+
# Rama VI (1914-1925).
|
|
606
|
+
if self._year <= 1924:
|
|
607
|
+
self._add_holiday_dec_30(name)
|
|
608
|
+
self._add_holiday_dec_31(name)
|
|
609
|
+
if self._year >= 1915:
|
|
610
|
+
self._add_holiday_jan_1(name)
|
|
611
|
+
self._add_holiday_jan_2(name)
|
|
612
|
+
self._add_holiday_jan_3(name)
|
|
388
613
|
|
|
389
614
|
# วันพ่อแห่งชาติ
|
|
390
615
|
# Status: In-Use.
|
|
391
|
-
# Starts in 1980 (B.E 2523).
|
|
616
|
+
# Starts in 1980 (B.E. 2523).
|
|
392
617
|
# Technically, a replication of HM King Bhumibol Adulyadej's Birthday
|
|
393
618
|
# but it's in the official calendar, so may as well have this here.
|
|
394
619
|
|
|
@@ -398,92 +623,147 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
398
623
|
|
|
399
624
|
# วันรัฐธรรมนูญ
|
|
400
625
|
# Status: In-Use.
|
|
401
|
-
#
|
|
402
|
-
#
|
|
403
|
-
#
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
626
|
+
# Starts in 1938 (B.E. 2481).
|
|
627
|
+
# Initially as DEC 9th-11th, got trimmed down to DEC 10th in 1947.
|
|
628
|
+
# Readded Pre- and Post- holidays in 1950 before removed again in 1954.
|
|
629
|
+
|
|
630
|
+
if self._year >= 1938:
|
|
631
|
+
# Constitution Day.
|
|
632
|
+
name = tr("วันรัฐธรรมนูญ")
|
|
633
|
+
self._add_observed(self._add_holiday_dec_10(name))
|
|
634
|
+
if self._year <= 1947 or 1950 <= self._year <= 1953:
|
|
635
|
+
self._add_holiday_dec_9(name)
|
|
636
|
+
self._add_holiday_dec_11(name)
|
|
407
637
|
|
|
408
638
|
# วันสิ้นปี
|
|
409
639
|
# Status: In-Use.
|
|
410
|
-
#
|
|
411
|
-
#
|
|
412
|
-
# TODO: Add check for 1941 if we support earlier dates.
|
|
640
|
+
# Started in 1941 (B.E. 2484; as part of New Year Holidays)
|
|
641
|
+
# Abandoned in 1957, presumed to restart in 1989.
|
|
413
642
|
# This has its own in-lieu trigger.
|
|
414
643
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
644
|
+
if 1941 <= self._year <= 1956 or self._year >= 1989:
|
|
645
|
+
# New Year's Eve.
|
|
646
|
+
name = tr("วันสิ้นปี")
|
|
647
|
+
self._add_new_years_eve(name)
|
|
418
648
|
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
649
|
+
# วันหยุดชดเชยวันสิ้นปี
|
|
650
|
+
# Status: In-Use.
|
|
651
|
+
# Added separately from New Year's Eve itself so that it would't
|
|
652
|
+
# go over the next year.
|
|
653
|
+
# - CASE 1: SAT-SUN -> 1 in-lieu on TUE.
|
|
654
|
+
# - CASE 2: SUN-MON -> 1 in-lieu on TUE.
|
|
655
|
+
# See in lieu logic in `_add_observed(dt: date)`.
|
|
426
656
|
|
|
427
|
-
|
|
428
|
-
|
|
657
|
+
if self._year >= 1995 and self._year != 2024:
|
|
658
|
+
self._add_observed(
|
|
659
|
+
date(self._year - 1, DEC, 31), name=name, rule=SAT_SUN_TO_NEXT_TUE
|
|
660
|
+
)
|
|
429
661
|
|
|
430
662
|
# Thai Lunar Calendar Holidays
|
|
431
663
|
# See `_ThaiLunisolar` in holidays/utils.py for more details.
|
|
432
|
-
# Thai Lunar Calendar Holidays only work from 1941 to 2057.
|
|
433
664
|
|
|
434
665
|
# วันมาฆบูชา
|
|
435
666
|
# Status: In-Use.
|
|
436
|
-
|
|
437
|
-
#
|
|
438
|
-
|
|
667
|
+
# Started in 1915 (B.E. 2457**), not observed between 1926-1937.
|
|
668
|
+
# For historical purpose, pre-1925 entry uses the old spelling.
|
|
669
|
+
# **For pre-1941 data, Buddhist Era year starts on APR 1st.
|
|
670
|
+
|
|
671
|
+
if 1915 <= self._year <= 1925 or self._year >= 1938:
|
|
672
|
+
name = (
|
|
673
|
+
# Makha Bucha.
|
|
674
|
+
tr("วันมาฆบูชา")
|
|
675
|
+
if self._year >= 1938
|
|
676
|
+
# Makha Bucha, the Fourfold Assembly Day.
|
|
677
|
+
else tr("มาฆบูชา จาตุรงฅ์สันนิบาต")
|
|
678
|
+
)
|
|
679
|
+
self._add_observed(self._add_makha_bucha(name))
|
|
439
680
|
|
|
440
681
|
# วันวิสาขบูชา
|
|
441
682
|
# Status: In-Use.
|
|
683
|
+
# Started in 1914 (B.E. 2457) with pre- and post- observance.
|
|
684
|
+
# From 1938-1953 only post- is added.
|
|
685
|
+
# For historical purpose, pre-1957 entry uses the old spelling.
|
|
686
|
+
# Note that the ones during Rama VII era uses ศ instead of ส.
|
|
442
687
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
688
|
+
if self._year >= 1957:
|
|
689
|
+
# Visakha Bucha.
|
|
690
|
+
name = tr("วันวิสาขบูชา")
|
|
691
|
+
elif self._year >= 1938:
|
|
692
|
+
# Visakha Bucha.
|
|
693
|
+
name = tr("วันวิสาขะบูชา")
|
|
694
|
+
elif self._year >= 1926:
|
|
695
|
+
# Visakha Bucha.
|
|
696
|
+
name = tr("วิศาขะบูชา")
|
|
697
|
+
else:
|
|
698
|
+
# Visakha Bucha.
|
|
699
|
+
name = tr("วิสาขะบูชา")
|
|
700
|
+
|
|
701
|
+
dt = self._add_visakha_bucha(name)
|
|
702
|
+
if self._year <= 1953:
|
|
703
|
+
self._add_holiday(name, _timedelta(dt, +1))
|
|
704
|
+
if self._year <= 1937:
|
|
705
|
+
self._add_holiday(name, _timedelta(dt, -1))
|
|
706
|
+
else:
|
|
707
|
+
self._add_observed(dt)
|
|
708
|
+
|
|
709
|
+
# วันเข้าพรรษา-วันอาสาฬหบูชา
|
|
447
710
|
# Status: In-Use.
|
|
711
|
+
# - Started in 1914 (B.E. 2457) with Asarnha Bucha and pre-Asarnha Bucha observance.
|
|
712
|
+
# - From 1938-1953 only Asarnha Bucha is added.
|
|
713
|
+
# - 2nd, 3rd, 4th, and 5th day was also observed pre-1926.
|
|
714
|
+
# - Asarnha Bucha was re-added with its own name from 1962 onwards.
|
|
715
|
+
# For historical purpose, pre-1938 entry uses the old spelling.
|
|
716
|
+
# When used in combo with Asarnha Bucha Day.
|
|
448
717
|
# - CASE 1: FRI-SAT -> 1 in-lieu on MON
|
|
449
718
|
# - CASE 2: SAT-SUN -> 1 in-lieu on MON
|
|
450
719
|
# - CASE 3: SUN-MON -> 1 in-lieu on TUE
|
|
451
720
|
|
|
452
|
-
|
|
453
|
-
#
|
|
454
|
-
|
|
455
|
-
|
|
721
|
+
name = (
|
|
722
|
+
# Buddhist Lent Day.
|
|
723
|
+
tr("วันเข้าพรรษา")
|
|
724
|
+
if self._year >= 1938
|
|
725
|
+
# Buddhist Lent Day.
|
|
726
|
+
else tr("เข้าปุริมพรรษา")
|
|
456
727
|
)
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
728
|
+
dt = self._add_khao_phansa(name)
|
|
729
|
+
if self._year <= 1953:
|
|
730
|
+
self._add_asarnha_bucha(name)
|
|
731
|
+
if self._year <= 1937:
|
|
732
|
+
self._add_holiday(name, _timedelta(dt, -2))
|
|
733
|
+
if self._year <= 1925:
|
|
734
|
+
self._add_holiday(name, _timedelta(dt, +1))
|
|
735
|
+
self._add_holiday(name, _timedelta(dt, +2))
|
|
736
|
+
self._add_holiday(name, _timedelta(dt, +3))
|
|
737
|
+
self._add_holiday(name, _timedelta(dt, +4))
|
|
738
|
+
else:
|
|
739
|
+
self._add_observed(dt, rule=SAT_TO_NEXT_MON)
|
|
740
|
+
if self._year >= 1962:
|
|
741
|
+
self._add_observed(
|
|
742
|
+
# Asarnha Bucha.
|
|
743
|
+
self._add_asarnha_bucha(tr("วันอาสาฬหบูชา")),
|
|
744
|
+
rule=SAT_SUN_TO_NEXT_MON_TUE,
|
|
745
|
+
)
|
|
466
746
|
|
|
467
747
|
def _populate_armed_forces_holidays(self):
|
|
468
748
|
# วันกองทัพไทย
|
|
469
749
|
# Status: In-Use.
|
|
470
|
-
# First started in 1959 on the
|
|
471
|
-
# Moved to JAN
|
|
472
|
-
# Corrected to the battle's actual date (JAN
|
|
750
|
+
# First started in 1959 (B.E. 2502) on the Ministry of Defense Foundation Day (APR 8th).
|
|
751
|
+
# Moved to JAN 25th (Supposedly King Naresuan's Decisive Battle) in 1980.
|
|
752
|
+
# Corrected to the battle's actual date (JAN 18th) in 2007.
|
|
473
753
|
# Only applys to members of the Royal Thai Armed Forces.
|
|
474
754
|
|
|
475
755
|
if self._year >= 1959:
|
|
476
|
-
# Royal Thai Armed Forces Day
|
|
477
|
-
|
|
756
|
+
# Royal Thai Armed Forces Day.
|
|
757
|
+
name = tr("วันกองทัพไทย")
|
|
478
758
|
if self._year >= 2007:
|
|
479
|
-
self._add_holiday_jan_18(
|
|
759
|
+
self._add_holiday_jan_18(name)
|
|
480
760
|
elif self._year >= 1980:
|
|
481
|
-
self._add_holiday_jan_25(
|
|
761
|
+
self._add_holiday_jan_25(name)
|
|
482
762
|
else:
|
|
483
|
-
self._add_holiday_apr_8(
|
|
763
|
+
self._add_holiday_apr_8(name)
|
|
484
764
|
|
|
485
765
|
def _populate_bank_holidays(self):
|
|
486
|
-
# Bank of Thailand, the ones who decreed this wasn't found until
|
|
766
|
+
# Bank of Thailand, the ones who decreed this wasn't found until DEC 10th, 1942.
|
|
487
767
|
# So it's safe to assume with that as our start date.
|
|
488
768
|
if self._year <= 1942:
|
|
489
769
|
return None
|
|
@@ -497,8 +777,8 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
497
777
|
|
|
498
778
|
if self._year <= 2021:
|
|
499
779
|
self._add_holiday_apr_1(
|
|
500
|
-
# Additional Closing Day for Bank for Agriculture and Agricultural Cooperatives
|
|
501
|
-
tr("วันหยุดเพิ่มเติมสำหรับการปิดบัญชีประจำปีของธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร")
|
|
780
|
+
# Additional Closing Day for Bank for Agriculture and Agricultural Cooperatives.
|
|
781
|
+
tr("วันหยุดเพิ่มเติมสำหรับการปิดบัญชีประจำปีของธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร")
|
|
502
782
|
)
|
|
503
783
|
|
|
504
784
|
# วันหยุดภาคครึ่งปีของสถาบันการเงินและสถาบันการเงินเฉพาะกิจ
|
|
@@ -507,16 +787,16 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
507
787
|
# Abandoned in 2019.
|
|
508
788
|
|
|
509
789
|
if self._year <= 2018:
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
tr("วันหยุดภาคครึ่งปีของสถาบันการเงินและสถาบันการเงินเฉพาะกิจ"),
|
|
513
|
-
)
|
|
790
|
+
# Mid-Year Closing Day.
|
|
791
|
+
self._add_holiday_jul_1(tr("วันหยุดภาคครึ่งปีของสถาบันการเงินและสถาบันการเงินเฉพาะกิจ"))
|
|
514
792
|
|
|
515
793
|
def _populate_government_holidays(self):
|
|
516
794
|
# No Future Fixed Date Holidays
|
|
517
795
|
|
|
518
796
|
# วันพืชมงคล
|
|
519
|
-
# Restarts in 1947 (B.E. 2490),
|
|
797
|
+
# Restarts in 1947 (B.E. 2490), become holiday again since 1952
|
|
798
|
+
# but since we lacked the exact date records, this will be ignored.
|
|
799
|
+
# Become an holiday again until 1960 (B.E. 2503).
|
|
520
800
|
# Removed as an holiday in 1999 due to financial crisis, reinstated in 2000.
|
|
521
801
|
# No event was held in 2021 due to local Covid-19 situation, though it stays a day off.
|
|
522
802
|
# Is dated on an annual basis by the Royal Palace, always on weekdays.
|
|
@@ -524,7 +804,7 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
524
804
|
# this from 1966 onwards. For earlier records the date was refered as วันแรกนาขวัญ.
|
|
525
805
|
# This isn't even fixed even by the Thai Lunar Calendar besides being in Month 6
|
|
526
806
|
# to concides with the rainy season, but instead by Court Astrologers; All chosen dates
|
|
527
|
-
# so far are all in the first three weeks of
|
|
807
|
+
# so far are all in the first three weeks of MAY.
|
|
528
808
|
# *** NOTE: only observed by government sectors.
|
|
529
809
|
# TODO: Update this annually around Dec of each year.
|
|
530
810
|
|
|
@@ -610,7 +890,7 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
610
890
|
# Only applies to Ministry of Education (Students, Teachers, etc.), no in-lieus are given.
|
|
611
891
|
|
|
612
892
|
if self._year >= 1957:
|
|
613
|
-
# Teacher's Day
|
|
893
|
+
# Teacher's Day.
|
|
614
894
|
self._add_holiday_jan_16(tr("วันครู"))
|
|
615
895
|
|
|
616
896
|
def _populate_workday_holidays(self):
|
|
@@ -622,7 +902,7 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
622
902
|
# Status: In-Use.
|
|
623
903
|
# Started in 1948.
|
|
624
904
|
|
|
625
|
-
# Thai Veterans Day
|
|
905
|
+
# Thai Veterans Day.
|
|
626
906
|
self._add_holiday_feb_3(tr("วันทหารผ่านศึก"))
|
|
627
907
|
|
|
628
908
|
if self._year >= 1982:
|
|
@@ -630,7 +910,7 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
630
910
|
# Status: In-Use.
|
|
631
911
|
# Started in 1982.
|
|
632
912
|
|
|
633
|
-
# National Science Day
|
|
913
|
+
# National Science Day.
|
|
634
914
|
self._add_holiday_aug_18(tr("วันวิทยาศาสตร์แห่งชาติ"))
|
|
635
915
|
|
|
636
916
|
if self._year >= 1985:
|
|
@@ -638,7 +918,7 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
638
918
|
# Status: In-Use.
|
|
639
919
|
# Started in 1985.
|
|
640
920
|
|
|
641
|
-
# National Artist Day
|
|
921
|
+
# National Artist Day.
|
|
642
922
|
self._add_holiday_feb_26(tr("วันศิลปินแห่งชาติ"))
|
|
643
923
|
|
|
644
924
|
if self._year >= 1989:
|
|
@@ -646,7 +926,7 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
646
926
|
# Status: In-Use.
|
|
647
927
|
# Started in 1989.
|
|
648
928
|
|
|
649
|
-
# International Women's Day
|
|
929
|
+
# International Women's Day.
|
|
650
930
|
self._add_womens_day(tr("วันสตรีสากล"))
|
|
651
931
|
|
|
652
932
|
if self._year >= 1990:
|
|
@@ -654,14 +934,14 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
654
934
|
# Status: In-Use.
|
|
655
935
|
# Started in 1990.
|
|
656
936
|
|
|
657
|
-
# National Forest Conservation Day
|
|
937
|
+
# National Forest Conservation Day.
|
|
658
938
|
self._add_holiday_jan_14(tr("วันอนุรักษ์ทรัพยากรป่าไม้ของชาติ"))
|
|
659
939
|
|
|
660
940
|
# วันพ่อขุนรามคำแหงมหาราช
|
|
661
941
|
# Status: In-Use.
|
|
662
942
|
# Started in 1990.
|
|
663
943
|
|
|
664
|
-
# HM King Ramkamhaeng Memorial Day
|
|
944
|
+
# HM King Ramkamhaeng Memorial Day.
|
|
665
945
|
self._add_holiday_jan_17(tr("วันพ่อขุนรามคำแหงมหาราช"))
|
|
666
946
|
|
|
667
947
|
if self._year >= 1995:
|
|
@@ -669,7 +949,7 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
669
949
|
# Status: In-Use.
|
|
670
950
|
# Started in 1995.
|
|
671
951
|
|
|
672
|
-
# National Aviation Day
|
|
952
|
+
# National Aviation Day.
|
|
673
953
|
self._add_holiday_jan_13(tr("วันการบินแห่งชาติ"))
|
|
674
954
|
|
|
675
955
|
if self._year >= 2017:
|
|
@@ -677,15 +957,15 @@ class Thailand(ObservedHolidayBase, InternationalHolidays, StaticHolidays, ThaiC
|
|
|
677
957
|
# Status: In-Use.
|
|
678
958
|
# Started in 2017.
|
|
679
959
|
|
|
680
|
-
# Thai National Flag Day
|
|
960
|
+
# Thai National Flag Day.
|
|
681
961
|
self._add_holiday_sep_28(tr("วันพระราชทานธงชาติไทย"))
|
|
682
962
|
|
|
683
963
|
# วันลอยกระทง
|
|
684
964
|
# Status: In-Use.
|
|
965
|
+
# Started in 1914.
|
|
685
966
|
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
self._add_loy_krathong(tr("วันลอยกระทง"))
|
|
967
|
+
# Loy Krathong.
|
|
968
|
+
self._add_loy_krathong(tr("วันลอยกระทง"))
|
|
689
969
|
|
|
690
970
|
|
|
691
971
|
class TH(Thailand):
|
|
@@ -697,7 +977,12 @@ class THA(Thailand):
|
|
|
697
977
|
|
|
698
978
|
|
|
699
979
|
class ThailandStaticHolidays:
|
|
700
|
-
|
|
980
|
+
"""
|
|
981
|
+
วันหยุดพิเศษ (เพิ่มเติม) - see Bank of Thailand's DB for Cross-Check.
|
|
982
|
+
|
|
983
|
+
Special Bank Holidays Pre-1992:
|
|
984
|
+
- `HM Queen Rambai Barni's Royal Cremation Ceremony. <https://ratchakitcha.soc.go.th/documents/1560949.pdf>`_
|
|
985
|
+
"""
|
|
701
986
|
|
|
702
987
|
# Special In Lieu Holiday.
|
|
703
988
|
thai_special_in_lieu_holidays = tr("วันหยุดชดเชย")
|
|
@@ -708,27 +993,24 @@ class ThailandStaticHolidays:
|
|
|
708
993
|
|
|
709
994
|
# Special Cases.
|
|
710
995
|
|
|
711
|
-
# HM King Bhumibol Adulyadej's Golden Jubilee.
|
|
712
|
-
rama_ix_golden_jubilee = tr("พระราชพิธีกาญจนาภิเษก พ.ศ. 2539")
|
|
713
996
|
# HM King Bhumibol Adulyadej's 60th Anniversary of Accession Event.
|
|
714
997
|
rama_ix_sixty_accession = tr("พระราชพิธีฉลองสิริราชสมบัติครบ 60 ปี พ.ศ. 2549")
|
|
715
|
-
# Emergency Lockdown (Thai Military Coup d'état).
|
|
716
|
-
thai_military_emergency_lockdown = tr("วันหยุดพิเศษ (คมช.)")
|
|
717
998
|
# Emergency Lockdown (Thai Political Unrest).
|
|
718
999
|
thai_political_emergency_lockdown = tr("วันหยุดพิเศษ (การเมือง)")
|
|
719
1000
|
# Emergency Lockdown (2011 Thailand Floods).
|
|
720
1001
|
thai_flood_2011_emergency_lockdown = tr("วันหยุดพิเศษ (มหาอุทกภัย พ.ศ. 2554)")
|
|
721
|
-
# Day of Mourning for HM King Bhumibol Adulyadej.
|
|
722
|
-
rama_ix_mourning = tr("วันหยุดพิเศษ (ร่วมถวายอาลัย ส่งดวงพระวิญญาณพระบรมศพ)")
|
|
723
|
-
# HM King Bhumibol Adulyadej's Royal Cremation Ceremony.
|
|
724
|
-
rama_ix_cremation = tr("วันพระราชพิธีถวายพระเพลิงพระบรมศพพระบาทสมเด็จพระปรมินทรมหาภูมิพลอดุลยเดช")
|
|
725
|
-
# HM King Maha Vajiralongkorn's Coronation Celebrations.
|
|
726
|
-
rama_x_coronation_celebrations = tr("พระราชพิธีบรมราชาภิเษก พระบาทสมเด็จพระวชิรเกล้าเจ้าอยู่หัว")
|
|
727
1002
|
# Songkran Festival.
|
|
728
1003
|
songkran_festival = tr("วันสงกรานต์")
|
|
729
1004
|
|
|
1005
|
+
special_bank_holidays = {
|
|
1006
|
+
# HM Queen Rambai Barni's Royal Cremation Ceremony.
|
|
1007
|
+
1985: (APR, 9, tr("วันพระราชพิธีถวายพระเพลิงพระบรมศพสมเด็จพระนางเจ้ารำไพพรรณี"))
|
|
1008
|
+
}
|
|
730
1009
|
special_public_holidays = {
|
|
731
1010
|
# 1992-1994 (include In Lieus, Checked with Bank of Thailand Data).
|
|
1011
|
+
# 1995-1997 (Bank of Thailand Data).
|
|
1012
|
+
# 1998-2000 (include In Lieus, Checked with Bank of Thailand Data).
|
|
1013
|
+
# From 2001 Onwards (Checked with Bank of Thailand Data).
|
|
732
1014
|
1992: (
|
|
733
1015
|
(MAY, 18, thai_special_in_lieu_holidays),
|
|
734
1016
|
(DEC, 7, thai_special_in_lieu_holidays),
|
|
@@ -746,9 +1028,8 @@ class ThailandStaticHolidays:
|
|
|
746
1028
|
(OCT, 24, thai_special_in_lieu_holidays),
|
|
747
1029
|
(DEC, 12, thai_special_in_lieu_holidays),
|
|
748
1030
|
),
|
|
749
|
-
#
|
|
750
|
-
1996: (JUN, 10,
|
|
751
|
-
# 1998-2000 (include In Lieus, Checked with Bank of Thailand Data).
|
|
1031
|
+
# HM King Bhumibol Adulyadej's Golden Jubilee.
|
|
1032
|
+
1996: (JUN, 10, tr("พระราชพิธีกาญจนาภิเษก พ.ศ. 2539")),
|
|
752
1033
|
1998: (
|
|
753
1034
|
(MAY, 11, thai_special_in_lieu_holidays),
|
|
754
1035
|
(DEC, 7, thai_special_in_lieu_holidays),
|
|
@@ -766,13 +1047,13 @@ class ThailandStaticHolidays:
|
|
|
766
1047
|
(DEC, 11, thai_special_in_lieu_holidays),
|
|
767
1048
|
(DEC, 29, thai_election),
|
|
768
1049
|
),
|
|
769
|
-
# From 2001 Onwards (Checked with Bank of Thailand Data).
|
|
770
1050
|
2006: (
|
|
771
1051
|
(APR, 19, thai_election),
|
|
772
1052
|
(JUN, 9, rama_ix_sixty_accession),
|
|
773
1053
|
(JUN, 12, rama_ix_sixty_accession),
|
|
774
1054
|
(JUN, 13, rama_ix_sixty_accession),
|
|
775
|
-
(
|
|
1055
|
+
# Emergency Lockdown (Thai Military Coup d'état).
|
|
1056
|
+
(SEP, 20, tr("วันหยุดพิเศษ (คมช.)")),
|
|
776
1057
|
),
|
|
777
1058
|
2009: (
|
|
778
1059
|
(JAN, 2, thai_bridge_public_holiday),
|
|
@@ -804,10 +1085,13 @@ class ThailandStaticHolidays:
|
|
|
804
1085
|
2016: (
|
|
805
1086
|
(MAY, 6, thai_bridge_public_holiday),
|
|
806
1087
|
(JUL, 18, thai_bridge_public_holiday),
|
|
807
|
-
|
|
1088
|
+
# Day of Mourning for HM King Bhumibol Adulyadej.
|
|
1089
|
+
(OCT, 14, tr("วันหยุดพิเศษ (ร่วมถวายอาลัย ส่งดวงพระวิญญาณพระบรมศพ)")),
|
|
808
1090
|
),
|
|
809
|
-
|
|
810
|
-
|
|
1091
|
+
# HM King Bhumibol Adulyadej's Royal Cremation Ceremony.
|
|
1092
|
+
2017: (OCT, 26, tr("วันพระราชพิธีถวายพระเพลิงพระบรมศพพระบาทสมเด็จพระปรมินทรมหาภูมิพลอดุลยเดช")),
|
|
1093
|
+
# HM King Maha Vajiralongkorn's Coronation Celebrations.
|
|
1094
|
+
2019: (MAY, 6, tr("พระราชพิธีบรมราชาภิเษก พระบาทสมเด็จพระวชิรเกล้าเจ้าอยู่หัว")),
|
|
811
1095
|
2020: (
|
|
812
1096
|
(NOV, 19, thai_bridge_public_holiday),
|
|
813
1097
|
(NOV, 20, thai_bridge_public_holiday),
|