
    ihn                         d dl mZmZmZmZ d dlmZmZmZ d dl	m
Z
mZmZmZ  G d de
eee      Z G d de      Z G d d	e      Z G d
 d      Zy)    )JANFEBMARAUG)ChristianHolidaysInternationalHolidaysStaticHolidays)ObservedHolidayBaseSUN_TO_NEXT_MONSAT_SUN_TO_NEXT_MON_TUESAT_SUN_TO_NEXT_MONc                   4     e Zd ZdZdZdZdZ fdZd Z xZ	S )AntiguaAndBarbudaa  Antigua and Barbuda holidays.

    References:
        * [The Public Holidays Act, 1954](https://web.archive.org/web/20250123110511/https://laws.gov.ag/wp-content/uploads/2018/08/cap-354.pdf)
        * [The Public Holidays (Amendment) Act, 2005](https://web.archive.org/web/20250103221834/https://laws.gov.ag/wp-content/uploads/2018/08/a2005-8.pdf)
        * [The Public Holidays (Amendment) Act, 2014](https://web.archive.org/web/20250427174435/https://laws.gov.ag/wp-content/uploads/2019/03/Public-Holidays-Amendment-Act.pdf)
        * [The Public Holidays (Amendment) Act, 2019](https://web.archive.org/web/20250427174433/https://laws.gov.ag/wp-content/uploads/2020/02/No.-23-of-2019-Public-Holidays-Amendment-Act-2019.pdf)
        * [No. 24 of 2006 Proclamation](https://web.archive.org/web/20240620021627/http://laws.gov.ag/wp-content/uploads/2022/06/No.-24-of-2006-Proclamation-dated-29th-November2006-Appointing-the-11th-of-December2006.pdf)
        * [No. 40 of 2012 Proclamation](https://web.archive.org/web/20250427174546/https://laws.gov.ag/wp-content/uploads/2021/08/No.-40-of-2012-Proclamation-dated-the-27th-day-of-November-2012-Apponting-the-27th-of-December-2012-as-a-Public-Holiday-throughout-Antigua-and-Barbuda.pdf)
        * <https://en.wikipedia.org/wiki/Public_holidays_in_Antigua_and_Barbuda>

    Notes:
        In accordance with No. 24 of 2006 Proclamation, National Heroes Day was celebrated on
        Dec 11, 2006. In accordance with No. 40 of 2012 Proclamation, National Heroes Day was
        celebrated on Dec 10, 2012.
    AGz%s (observed)i  c                     t        j                  |        t        j                  |        t        j                  | t               |j                  dt               t        |   |i | y )Nobserved_rule)r   __init__r   r	   AntiguaAndBarbudaStaticHolidays
setdefaultr   super)selfargskwargs	__class__s      f/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/holidays/countries/antigua_and_barbuda.pyr   zAntiguaAndBarbuda.__init__/   sR    ""4(&&t,&EF/?;$)&)    c                    | j                  | j                  d             | j                  d       | j                  d       | j	                  d       | j                  d       | j                  dk  r| j                  d       | j                  d       | j                  d	k\  r| j                  d
       | j                  d      }| j                  dk\  r| j                  |t               | j                  dk\  r| j                  dk\  rdnd}| j                  d	k(  r| j                  |       nX| j                  dk(  r| j                  |       n7| j                  |      }| j                  dk\  r| j                  |t               | j                  | j                  d      t                | j                  | j#                  d      t                y )NzNew Year's DayzGood FridayzEaster Mondayz
Labour DayzWhit Mondayi  z!Caribbean Community (Caricom) DayzCarnival Mondayi  zCarnival TuesdayzIndependence Day)rulei  zSir Vere Cornwall Bird Snr. DayzNational Heroes Dayi  i  zChristmas Dayz
Boxing Day)_add_observed_add_new_years_day_add_good_friday_add_easter_monday_add_holiday_1st_mon_of_may_add_whit_monday_year_add_holiday_1st_mon_of_jul_add_holiday_1st_mon_of_aug&_add_holiday_1_day_past_1st_mon_of_aug_add_holiday_nov_1r   _add_holiday_dec_11_add_holiday_dec_10_add_holiday_dec_9_add_christmas_dayr   _add_christmas_day_two)r   dtnames      r   _populate_public_holidaysz+AntiguaAndBarbuda._populate_public_holidays6   s   4223CDE 	m, 	0 	((6 	m,::,,-PQ 	(():;::778JK $$%78::r(;<:: ::% 2 +  zzT!((.t#((.,,T2::%&&r0C&D 	422?CJab 	466|DKbcr   )
__name__
__module____qualname____doc__countryobserved_label
start_yearr   r1   __classcell__)r   s   @r   r   r      s$    " G$NJ*5dr   r   c                       e Zd Zy)r   Nr2   r3   r4    r   r   r   r   n       r   r   c                       e Zd Zy)ATGNr;   r<   r   r   r?   r?   r   r=   r   r?   c                   D    e Zd ZdZdZeddfeddfeddffed	efedefd
Z	y)r   a  Antigua and Barbuda special holidays.

    References:
        * [August 3, 1993 Holiday](https://web.archive.org/web/20241215194404/https://laws.gov.ag/wp-content/uploads/2021/08/No.-42-of-1993-Proclamation-dated-the-22nd-day-of-July-1993-appointing-Tuesday-the-3rd-day-of-August-1993-as-a-public-holiday-throughout-Antigua-and-Barbuda..pdf)
        * [State Funeral of the late The Honourable Charlesworth T. Samuel](https://web.archive.org/web/20250427174441/https://laws.gov.ag/wp-content/uploads/2022/12/No.-7-of-2008-Proclamation-dated-the-13th-day-of-February-2008-Appointing-Tuesday-19th-February-2008-as-a-Public-Holiday.pdf)
        * [State Funeral of the late The Honourable Sir George Herbert Walter](https://web.archive.org/web/20250427174444/https://laws.gov.ag/wp-content/uploads/2022/12/No.-9-of-2008-Proclamation-dated-the-13th-day-of-March-2008-Appointing-Tuesday-18th-March-2008-as-a-Public-Holiday.pdf)
        * According to the Public Holidays (Amendment) Act, 2014, the day after the general
          election is a holiday.
            * [2018 Antiguan general election](https://en.wikipedia.org/wiki/2018_Antiguan_general_election)
            * [2023 Antiguan general election](https://en.wikipedia.org/wiki/2023_Antiguan_general_election)
            * [The Public Holidays (Amendment) Act, 2014](https://web.archive.org/web/20250427174435/https://laws.gov.ag/wp-content/uploads/2019/03/Public-Holidays-Amendment-Act.pdf)
    zDay after the General Election   zPublic Holiday   z?State Funeral of the late The Honourable Charlesworth T. Samuel   zBState Funeral of the late The Honourable Sir George Herbert Walter   )i  i  i  i  N)
r2   r3   r4   r5   day_after_the_general_electionr   r   r   r   special_public_holidaysr<   r   r   r   r   v   sZ     &F" A'( "WX"Z[	
 B67B67
r   r   N)holidays.calendars.gregorianr   r   r   r   holidays.groupsr   r   r	   holidays.observed_holiday_baser
   r   r   r   r   r   r?   r   r<   r   r   <module>rJ      s[    < ; T T Td*,A>Tdn		 		
 	 r   