pandas-market-calendars 5.1.0__py3-none-any.whl → 5.1.1__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.
Files changed (48) hide show
  1. pandas_market_calendars/__init__.py +39 -39
  2. pandas_market_calendars/calendar_registry.py +57 -57
  3. pandas_market_calendars/calendar_utils.py +1151 -1151
  4. pandas_market_calendars/calendars/asx.py +77 -70
  5. pandas_market_calendars/calendars/bmf.py +226 -219
  6. pandas_market_calendars/calendars/bse.py +432 -425
  7. pandas_market_calendars/calendars/cboe.py +156 -149
  8. pandas_market_calendars/calendars/cme.py +412 -405
  9. pandas_market_calendars/calendars/cme_globex_agriculture.py +172 -172
  10. pandas_market_calendars/calendars/cme_globex_base.py +126 -119
  11. pandas_market_calendars/calendars/cme_globex_crypto.py +165 -158
  12. pandas_market_calendars/calendars/cme_globex_energy_and_metals.py +223 -216
  13. pandas_market_calendars/calendars/cme_globex_equities.py +130 -123
  14. pandas_market_calendars/calendars/cme_globex_fixed_income.py +136 -136
  15. pandas_market_calendars/calendars/cme_globex_fx.py +101 -101
  16. pandas_market_calendars/calendars/eurex.py +138 -131
  17. pandas_market_calendars/calendars/eurex_fixed_income.py +105 -98
  18. pandas_market_calendars/calendars/hkex.py +438 -431
  19. pandas_market_calendars/calendars/ice.py +88 -81
  20. pandas_market_calendars/calendars/iex.py +162 -155
  21. pandas_market_calendars/calendars/jpx.py +124 -117
  22. pandas_market_calendars/calendars/lse.py +125 -118
  23. pandas_market_calendars/calendars/mirror.py +144 -144
  24. pandas_market_calendars/calendars/nyse.py +1472 -1466
  25. pandas_market_calendars/calendars/ose.py +125 -118
  26. pandas_market_calendars/calendars/sifma.py +390 -383
  27. pandas_market_calendars/calendars/six.py +143 -136
  28. pandas_market_calendars/calendars/sse.py +322 -315
  29. pandas_market_calendars/calendars/tase.py +231 -224
  30. pandas_market_calendars/calendars/tsx.py +192 -185
  31. pandas_market_calendars/class_registry.py +115 -115
  32. pandas_market_calendars/holidays/cme.py +385 -385
  33. pandas_market_calendars/holidays/cme_globex.py +214 -214
  34. pandas_market_calendars/holidays/cn.py +1476 -1476
  35. pandas_market_calendars/holidays/jp.py +401 -401
  36. pandas_market_calendars/holidays/jpx_equinox.py +506 -506
  37. pandas_market_calendars/holidays/nyse.py +1536 -1536
  38. pandas_market_calendars/holidays/oz.py +63 -63
  39. pandas_market_calendars/holidays/sifma.py +350 -350
  40. pandas_market_calendars/holidays/us.py +376 -376
  41. pandas_market_calendars/market_calendar.py +1008 -1008
  42. {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.1.dist-info}/METADATA +3 -1
  43. pandas_market_calendars-5.1.1.dist-info/RECORD +50 -0
  44. {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.1.dist-info}/WHEEL +1 -1
  45. pandas_market_calendars-5.1.0.dist-info/RECORD +0 -50
  46. {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.1.dist-info}/licenses/LICENSE +0 -0
  47. {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.1.dist-info}/licenses/NOTICE +0 -0
  48. {pandas_market_calendars-5.1.0.dist-info → pandas_market_calendars-5.1.1.dist-info}/top_level.txt +0 -0
@@ -1,70 +1,77 @@
1
- from datetime import time
2
-
3
- from pandas.tseries.holiday import AbstractHolidayCalendar, GoodFriday, EasterMonday
4
- from zoneinfo import ZoneInfo
5
-
6
- from pandas_market_calendars.holidays.oz import *
7
- from pandas_market_calendars.market_calendar import MarketCalendar
8
-
9
- AbstractHolidayCalendar.start_date = "2011-01-01"
10
-
11
-
12
- class ASXExchangeCalendar(MarketCalendar):
13
- """
14
- Open Time: 10:00 AM, Australia/Sydney
15
- Close Time: 4:10 PM, Australia/Sydney
16
-
17
-
18
- Regularly-Observed Holidays:
19
- - New Year's Day (observed on Monday when Jan 1 is a Saturday or Sunday)
20
- - Australia Day (observed on Monday when Jan 26 is a Saturday or Sunday)
21
- - Good Friday (two days before Easter Sunday)
22
- - Easter Monday (the Monday after Easter Sunday)
23
- - ANZAC Day (April 25)
24
- - Queen's Birthday (second Monday in June)
25
- - Christmas Day (December 25, Saturday/Sunday to Monday)
26
- - Boxing Day (December 26, Saturday to Monday, Sunday to Tuesday)
27
-
28
-
29
- Regularly-Observed Early Closes:
30
- - Last Business Day before Christmas Day
31
- - Last Business Day of the Year
32
-
33
- """
34
-
35
- aliases = ["ASX"]
36
- regular_market_times = {
37
- "market_open": ((None, time(10)),),
38
- "market_close": ((None, time(16, 10)),),
39
- }
40
-
41
- @property
42
- def name(self):
43
- return "ASX"
44
-
45
- @property
46
- def full_name(self):
47
- return "Australian Securities Exchange"
48
-
49
- @property
50
- def tz(self):
51
- return ZoneInfo("Australia/Sydney")
52
-
53
- @property
54
- def regular_holidays(self):
55
- return AbstractHolidayCalendar(
56
- rules=[
57
- OZNewYearsDay,
58
- AustraliaDay,
59
- AnzacDay,
60
- QueensBirthday,
61
- Christmas,
62
- BoxingDay,
63
- GoodFriday,
64
- EasterMonday,
65
- ]
66
- )
67
-
68
- @property
69
- def adhoc_holidays(self):
70
- return UniqueCloses
1
+ from datetime import time
2
+
3
+ from pandas.tseries.holiday import AbstractHolidayCalendar, GoodFriday, EasterMonday
4
+ import sys
5
+ # check python versiOn aNd import accordingly
6
+ if sys.version_info >= (3, 9):
7
+ # For Python 3.9 and later, import directly
8
+ from zoneinfo import ZoneInfo
9
+ else:
10
+ # For Python 3.8 and earlier, import from backports
11
+ from backports.zoneinfo import ZoneInfo
12
+
13
+ from pandas_market_calendars.holidays.oz import *
14
+ from pandas_market_calendars.market_calendar import MarketCalendar
15
+
16
+ AbstractHolidayCalendar.start_date = "2011-01-01"
17
+
18
+
19
+ class ASXExchangeCalendar(MarketCalendar):
20
+ """
21
+ Open Time: 10:00 AM, Australia/Sydney
22
+ Close Time: 4:10 PM, Australia/Sydney
23
+
24
+
25
+ Regularly-Observed Holidays:
26
+ - New Year's Day (observed on Monday when Jan 1 is a Saturday or Sunday)
27
+ - Australia Day (observed on Monday when Jan 26 is a Saturday or Sunday)
28
+ - Good Friday (two days before Easter Sunday)
29
+ - Easter Monday (the Monday after Easter Sunday)
30
+ - ANZAC Day (April 25)
31
+ - Queen's Birthday (second Monday in June)
32
+ - Christmas Day (December 25, Saturday/Sunday to Monday)
33
+ - Boxing Day (December 26, Saturday to Monday, Sunday to Tuesday)
34
+
35
+
36
+ Regularly-Observed Early Closes:
37
+ - Last Business Day before Christmas Day
38
+ - Last Business Day of the Year
39
+
40
+ """
41
+
42
+ aliases = ["ASX"]
43
+ regular_market_times = {
44
+ "market_open": ((None, time(10)),),
45
+ "market_close": ((None, time(16, 10)),),
46
+ }
47
+
48
+ @property
49
+ def name(self):
50
+ return "ASX"
51
+
52
+ @property
53
+ def full_name(self):
54
+ return "Australian Securities Exchange"
55
+
56
+ @property
57
+ def tz(self):
58
+ return ZoneInfo("Australia/Sydney")
59
+
60
+ @property
61
+ def regular_holidays(self):
62
+ return AbstractHolidayCalendar(
63
+ rules=[
64
+ OZNewYearsDay,
65
+ AustraliaDay,
66
+ AnzacDay,
67
+ QueensBirthday,
68
+ Christmas,
69
+ BoxingDay,
70
+ GoodFriday,
71
+ EasterMonday,
72
+ ]
73
+ )
74
+
75
+ @property
76
+ def adhoc_holidays(self):
77
+ return UniqueCloses
@@ -1,219 +1,226 @@
1
- #
2
- # Copyright 2016 Quantopian, Inc.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
-
16
- from datetime import time
17
-
18
- from pandas import Timestamp
19
- from pandas.tseries.holiday import (
20
- AbstractHolidayCalendar,
21
- Day,
22
- Easter,
23
- GoodFriday,
24
- Holiday,
25
- )
26
- from zoneinfo import ZoneInfo
27
-
28
- from pandas_market_calendars.market_calendar import FRIDAY, MarketCalendar
29
-
30
- # Universal Confraternization (new years day)
31
- ConfUniversal = Holiday(
32
- "Dia da Confraternizacao Universal",
33
- month=1,
34
- day=1,
35
- )
36
- # Sao Paulo city birthday
37
- AniversarioSaoPaulo = Holiday(
38
- "Aniversario de Sao Paulo", month=1, day=25, end_date="2021-12-31"
39
- )
40
- # Carnival Monday
41
- CarnavalSegunda = Holiday("Carnaval Segunda", month=1, day=1, offset=[Easter(), Day(-48)])
42
- # Carnival Tuesday
43
- CarnavalTerca = Holiday("Carnaval Terca", month=1, day=1, offset=[Easter(), Day(-47)])
44
- # Ash Wednesday (short day)
45
- QuartaCinzas = Holiday("Quarta Cinzas", month=1, day=1, offset=[Easter(), Day(-46)])
46
- # Good Friday
47
- SextaPaixao = GoodFriday
48
- # Feast of the Most Holy Body of Christ
49
- CorpusChristi = Holiday("Corpus Christi", month=1, day=1, offset=[Easter(), Day(60)])
50
- # Tiradentes Memorial
51
- Tiradentes = Holiday(
52
- "Tiradentes",
53
- month=4,
54
- day=21,
55
- )
56
- # Labor Day
57
- DiaTrabalho = Holiday(
58
- "Dia Trabalho",
59
- month=5,
60
- day=1,
61
- )
62
- # Constitutionalist Revolution
63
- Constitucionalista = Holiday("Constitucionalista", month=7, day=9, start_date="1997-01-01", end_date="2019-12-31")
64
- # Independence Day
65
- Independencia = Holiday(
66
- "Independencia",
67
- month=9,
68
- day=7,
69
- )
70
- # Our Lady of Aparecida
71
- Aparecida = Holiday(
72
- "Nossa Senhora de Aparecida",
73
- month=10,
74
- day=12,
75
- )
76
- # All Souls' Day
77
- Finados = Holiday(
78
- "Dia dos Finados",
79
- month=11,
80
- day=2,
81
- )
82
- # Proclamation of the Republic
83
- ProclamacaoRepublica = Holiday(
84
- "Proclamacao da Republica",
85
- month=11,
86
- day=15,
87
- )
88
- # Day of Black Awareness (municipal holiday for the city of São Paulo)
89
- ConscienciaNegra = Holiday(
90
- "Dia da Consciencia Negra",
91
- month=11,
92
- day=20,
93
- start_date="2004-01-01",
94
- end_date="2019-12-31",
95
- )
96
- # Day of Black Awareness (national holiday)
97
- ConscienciaNegraNacional = Holiday(
98
- "Dia da Consciencia Negra",
99
- month=11,
100
- day=20,
101
- start_date="2023-12-22",
102
- )
103
- # Christmas Eve
104
- VesperaNatal = Holiday(
105
- "Vespera Natal",
106
- month=12,
107
- day=24,
108
- )
109
- # Christmas
110
- Natal = Holiday(
111
- "Natal",
112
- month=12,
113
- day=25,
114
- )
115
- # New Year's Eve
116
- AnoNovo = Holiday(
117
- "Ano Novo",
118
- month=12,
119
- day=31,
120
- )
121
- # New Year's Eve falls on Saturday
122
- AnoNovoSabado = Holiday(
123
- "Ano Novo Sabado",
124
- month=12,
125
- day=30,
126
- days_of_week=(FRIDAY,),
127
- )
128
- # New Year's Eve falls on Sunday
129
- AnoNovoDomingo = Holiday(
130
- "Ano Novo Domingo",
131
- month=12,
132
- day=29,
133
- days_of_week=(FRIDAY,),
134
- )
135
-
136
- ##########################
137
- # Non-recurring holidays
138
- ##########################
139
-
140
- Constitucionalista2021 = Timestamp("2021-07-09", tz="UTC")
141
- ConscienciaNegra2021 = Timestamp("2021-11-20", tz="UTC")
142
-
143
-
144
- class BMFExchangeCalendar(MarketCalendar):
145
- """
146
- Exchange calendar for BM&F BOVESPA
147
-
148
- Open Time: 10:00 AM, Brazil/Sao Paulo
149
- Close Time: 4:00 PM, Brazil/Sao Paulo
150
-
151
- Regularly-Observed Holidays:
152
- - Universal Confraternization (New year's day, Jan 1)
153
- - Sao Paulo City Anniversary (Jan 25 until 2021)
154
- - Carnaval Monday (48 days before Easter)
155
- - Carnaval Tuesday (47 days before Easter)
156
- - Passion of the Christ (Good Friday, 2 days before Easter)
157
- - Corpus Christi (60 days after Easter)
158
- - Tiradentes (April 21)
159
- - Labor day (May 1)
160
- - Constitutionalist Revolution (July 9 from 1997 until 2021, skipping 2020)
161
- - Independence Day (September 7)
162
- - Our Lady of Aparecida Feast (October 12)
163
- - All Souls' Day (November 2)
164
- - Proclamation of the Republic (November 15)
165
- - Day of Black Awareness, municipal holiday for the city of São Paulo (November 20 from 2004 until 2021, skipping 2020)
166
- - Day of Black Awareness, national holiday (November 20 starting in 2024)
167
- - Christmas (December 24 and 25)
168
- - Friday before New Year's Eve (December 30 or 29 if NYE falls on a Saturday or Sunday, respectively)
169
- - New Year's Eve (December 31)
170
- """
171
-
172
- aliases = ["BMF", "B3"]
173
- regular_market_times = {
174
- "market_open": ((None, time(10, 1)),),
175
- "market_close": ((None, time(16)),),
176
- }
177
-
178
- @property
179
- def name(self):
180
- return "BMF"
181
-
182
- @property
183
- def tz(self):
184
- return ZoneInfo("America/Sao_Paulo")
185
-
186
- @property
187
- def regular_holidays(self):
188
- return AbstractHolidayCalendar(
189
- rules=[
190
- ConfUniversal,
191
- AniversarioSaoPaulo,
192
- CarnavalSegunda,
193
- CarnavalTerca,
194
- SextaPaixao,
195
- CorpusChristi,
196
- Tiradentes,
197
- DiaTrabalho,
198
- Constitucionalista,
199
- Independencia,
200
- Aparecida,
201
- Finados,
202
- ProclamacaoRepublica,
203
- ConscienciaNegra,
204
- ConscienciaNegraNacional,
205
- VesperaNatal,
206
- Natal,
207
- AnoNovo,
208
- AnoNovoSabado,
209
- AnoNovoDomingo,
210
- ]
211
- )
212
-
213
- @property
214
- def adhoc_holidays(self):
215
- return [Constitucionalista2021, ConscienciaNegra2021]
216
-
217
- @property
218
- def special_opens(self):
219
- return [(time(13, 1), AbstractHolidayCalendar(rules=[QuartaCinzas]))]
1
+ #
2
+ # Copyright 2016 Quantopian, Inc.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ from datetime import time
17
+
18
+ from pandas import Timestamp
19
+ from pandas.tseries.holiday import (
20
+ AbstractHolidayCalendar,
21
+ Day,
22
+ Easter,
23
+ GoodFriday,
24
+ Holiday,
25
+ )
26
+ import sys
27
+ # check python versiOn aNd import accordingly
28
+ if sys.version_info >= (3, 9):
29
+ # For Python 3.9 and later, import directly
30
+ from zoneinfo import ZoneInfo
31
+ else:
32
+ # For Python 3.8 and earlier, import from backports
33
+ from backports.zoneinfo import ZoneInfo
34
+
35
+ from pandas_market_calendars.market_calendar import FRIDAY, MarketCalendar
36
+
37
+ # Universal Confraternization (new years day)
38
+ ConfUniversal = Holiday(
39
+ "Dia da Confraternizacao Universal",
40
+ month=1,
41
+ day=1,
42
+ )
43
+ # Sao Paulo city birthday
44
+ AniversarioSaoPaulo = Holiday(
45
+ "Aniversario de Sao Paulo", month=1, day=25, end_date="2021-12-31"
46
+ )
47
+ # Carnival Monday
48
+ CarnavalSegunda = Holiday("Carnaval Segunda", month=1, day=1, offset=[Easter(), Day(-48)])
49
+ # Carnival Tuesday
50
+ CarnavalTerca = Holiday("Carnaval Terca", month=1, day=1, offset=[Easter(), Day(-47)])
51
+ # Ash Wednesday (short day)
52
+ QuartaCinzas = Holiday("Quarta Cinzas", month=1, day=1, offset=[Easter(), Day(-46)])
53
+ # Good Friday
54
+ SextaPaixao = GoodFriday
55
+ # Feast of the Most Holy Body of Christ
56
+ CorpusChristi = Holiday("Corpus Christi", month=1, day=1, offset=[Easter(), Day(60)])
57
+ # Tiradentes Memorial
58
+ Tiradentes = Holiday(
59
+ "Tiradentes",
60
+ month=4,
61
+ day=21,
62
+ )
63
+ # Labor Day
64
+ DiaTrabalho = Holiday(
65
+ "Dia Trabalho",
66
+ month=5,
67
+ day=1,
68
+ )
69
+ # Constitutionalist Revolution
70
+ Constitucionalista = Holiday("Constitucionalista", month=7, day=9, start_date="1997-01-01", end_date="2019-12-31")
71
+ # Independence Day
72
+ Independencia = Holiday(
73
+ "Independencia",
74
+ month=9,
75
+ day=7,
76
+ )
77
+ # Our Lady of Aparecida
78
+ Aparecida = Holiday(
79
+ "Nossa Senhora de Aparecida",
80
+ month=10,
81
+ day=12,
82
+ )
83
+ # All Souls' Day
84
+ Finados = Holiday(
85
+ "Dia dos Finados",
86
+ month=11,
87
+ day=2,
88
+ )
89
+ # Proclamation of the Republic
90
+ ProclamacaoRepublica = Holiday(
91
+ "Proclamacao da Republica",
92
+ month=11,
93
+ day=15,
94
+ )
95
+ # Day of Black Awareness (municipal holiday for the city of São Paulo)
96
+ ConscienciaNegra = Holiday(
97
+ "Dia da Consciencia Negra",
98
+ month=11,
99
+ day=20,
100
+ start_date="2004-01-01",
101
+ end_date="2019-12-31",
102
+ )
103
+ # Day of Black Awareness (national holiday)
104
+ ConscienciaNegraNacional = Holiday(
105
+ "Dia da Consciencia Negra",
106
+ month=11,
107
+ day=20,
108
+ start_date="2023-12-22",
109
+ )
110
+ # Christmas Eve
111
+ VesperaNatal = Holiday(
112
+ "Vespera Natal",
113
+ month=12,
114
+ day=24,
115
+ )
116
+ # Christmas
117
+ Natal = Holiday(
118
+ "Natal",
119
+ month=12,
120
+ day=25,
121
+ )
122
+ # New Year's Eve
123
+ AnoNovo = Holiday(
124
+ "Ano Novo",
125
+ month=12,
126
+ day=31,
127
+ )
128
+ # New Year's Eve falls on Saturday
129
+ AnoNovoSabado = Holiday(
130
+ "Ano Novo Sabado",
131
+ month=12,
132
+ day=30,
133
+ days_of_week=(FRIDAY,),
134
+ )
135
+ # New Year's Eve falls on Sunday
136
+ AnoNovoDomingo = Holiday(
137
+ "Ano Novo Domingo",
138
+ month=12,
139
+ day=29,
140
+ days_of_week=(FRIDAY,),
141
+ )
142
+
143
+ ##########################
144
+ # Non-recurring holidays
145
+ ##########################
146
+
147
+ Constitucionalista2021 = Timestamp("2021-07-09", tz="UTC")
148
+ ConscienciaNegra2021 = Timestamp("2021-11-20", tz="UTC")
149
+
150
+
151
+ class BMFExchangeCalendar(MarketCalendar):
152
+ """
153
+ Exchange calendar for BM&F BOVESPA
154
+
155
+ Open Time: 10:00 AM, Brazil/Sao Paulo
156
+ Close Time: 5:00 PM, Brazil/Sao Paulo
157
+
158
+ Regularly-Observed Holidays:
159
+ - Universal Confraternization (New year's day, Jan 1)
160
+ - Sao Paulo City Anniversary (Jan 25 until 2021)
161
+ - Carnaval Monday (48 days before Easter)
162
+ - Carnaval Tuesday (47 days before Easter)
163
+ - Passion of the Christ (Good Friday, 2 days before Easter)
164
+ - Corpus Christi (60 days after Easter)
165
+ - Tiradentes (April 21)
166
+ - Labor day (May 1)
167
+ - Constitutionalist Revolution (July 9 from 1997 until 2021, skipping 2020)
168
+ - Independence Day (September 7)
169
+ - Our Lady of Aparecida Feast (October 12)
170
+ - All Souls' Day (November 2)
171
+ - Proclamation of the Republic (November 15)
172
+ - Day of Black Awareness, municipal holiday for the city of São Paulo (November 20 from 2004 until 2021, skipping 2020)
173
+ - Day of Black Awareness, national holiday (November 20 starting in 2024)
174
+ - Christmas (December 24 and 25)
175
+ - Friday before New Year's Eve (December 30 or 29 if NYE falls on a Saturday or Sunday, respectively)
176
+ - New Year's Eve (December 31)
177
+ """
178
+
179
+ aliases = ["BMF", "B3"]
180
+ regular_market_times = {
181
+ "market_open": ((None, time(10)),),
182
+ "market_close": ((None, time(17)),),
183
+ }
184
+
185
+ @property
186
+ def name(self):
187
+ return "BMF"
188
+
189
+ @property
190
+ def tz(self):
191
+ return ZoneInfo("America/Sao_Paulo")
192
+
193
+ @property
194
+ def regular_holidays(self):
195
+ return AbstractHolidayCalendar(
196
+ rules=[
197
+ ConfUniversal,
198
+ AniversarioSaoPaulo,
199
+ CarnavalSegunda,
200
+ CarnavalTerca,
201
+ SextaPaixao,
202
+ CorpusChristi,
203
+ Tiradentes,
204
+ DiaTrabalho,
205
+ Constitucionalista,
206
+ Independencia,
207
+ Aparecida,
208
+ Finados,
209
+ ProclamacaoRepublica,
210
+ ConscienciaNegra,
211
+ ConscienciaNegraNacional,
212
+ VesperaNatal,
213
+ Natal,
214
+ AnoNovo,
215
+ AnoNovoSabado,
216
+ AnoNovoDomingo,
217
+ ]
218
+ )
219
+
220
+ @property
221
+ def adhoc_holidays(self):
222
+ return [Constitucionalista2021, ConscienciaNegra2021]
223
+
224
+ @property
225
+ def special_opens(self):
226
+ return [(time(13, 1), AbstractHolidayCalendar(rules=[QuartaCinzas]))]