@@ -234,6 +234,35 @@ test_bdays(:WeekendsOnly, (2019, 8, 23), (2019, 8, 24), 1)
234234
235235# BrazilExchange 2022 calendar
236236@test isholiday (hc_brazil_exc, Dates. Date (2022 , 1 , 25 )) == false # updated by Ofício Circular 150/2020-PRE
237+ @test isholiday (hc_brazil_exc, Dates. Date (2022 , 7 , 9 )) == false
238+ @test isholiday (hc_brazil_exc, Dates. Date (2022 , 11 , 20 )) == false
239+ @test isholiday (hc_brazil_exc, Dates. Date (2022 , 2 , 28 )) == true
240+ @test isholiday (hc_brazil_exc, Dates. Date (2022 , 3 , 1 )) == true
241+ @test isholiday (hc_brazil_exc, Dates. Date (2022 , 4 , 15 )) == true
242+ @test isholiday (hc_brazil_exc, Dates. Date (2022 , 4 , 21 )) == true
243+ @test isholiday (hc_brazil_exc, Dates. Date (2022 , 6 , 16 )) == true
244+ @test isholiday (hc_brazil_exc, Dates. Date (2022 , 9 , 7 )) == true
245+ @test isholiday (hc_brazil_exc, Dates. Date (2022 , 10 , 12 )) == true
246+ @test isholiday (hc_brazil_exc, Dates. Date (2022 , 11 , 2 )) == true
247+ @test isholiday (hc_brazil_exc, Dates. Date (2022 , 11 , 15 )) == true
248+
249+ @test BusinessDays. listholidays (hc_brazil_exc, Dates. Date (2022 , 1 , 1 ), Dates. Date (2022 , 12 , 31 )) == [
250+ Dates. Date (" 2022-01-01" ), # Confraternização Universal (Sábado)
251+ Dates. Date (" 2022-02-28" ), # Carnaval (segunda)
252+ Dates. Date (" 2022-03-01" ), # Carnaval (Terça)
253+ Dates. Date (" 2022-04-15" ), # Paixão de Cristo
254+ Dates. Date (" 2022-04-21" ), # Tiradentes
255+ Dates. Date (" 2022-05-01" ), # Dia do Trabalho (Domingo)
256+ Dates. Date (" 2022-06-16" ), # Corpus Christi
257+ Dates. Date (" 2022-09-07" ), # Independência do Brasil
258+ Dates. Date (" 2022-10-12" ), # Nossa Senhora Aparecida
259+ Dates. Date (" 2022-11-02" ), # Finados
260+ Dates. Date (" 2022-11-15" ), # Proclamação da República
261+ Dates. Date (" 2022-12-24" ), # Véspera de Natal (sábado)
262+ Dates. Date (" 2022-12-25" ), # Natal (Domingo)
263+ Dates. Date (" 2022-12-30" ), # Véspera do ano novo
264+ Dates. Date (" 2022-12-31" ) # Ano novo (Sábado)
265+ ]
237266
238267# USSettlement HolidayCaledar tests
239268# Federal Holidays listed on https://www.opm.gov/policy-data-oversight/snow-dismissal-procedures/federal-holidays/#url=2015
0 commit comments