
    x7#hV                     p    d dl mZmZmZ d dlmZmZ  G d deeee      Z G d de      Z G d de      Z	y	)
    )ChristianHolidaysIslamicHolidaysInternationalHolidays)ObservedHolidayBaseSUN_TO_NEXT_MONc                   <     e Zd ZdZdZdZdZddef fdZd Z	 xZ
S )	Burundia-  Burundi holidays.

    References:
        * <https://www.officeholidays.com/countries/burundi>

    Note that holidays falling on a sunday maybe observed on the following Monday.
    This depends on formal announcements by the government, which only happens close
    to the date of the holiday.
    BIz%s (observed)i  islamic_show_estimatedc                     t        j                  |        t        j                  |        t        j                  | |       |j	                  dt
               t        |   |i | y)z
        Args:
            islamic_show_estimated:
                Whether to add "estimated" label to Islamic holidays name
                if holiday date is estimated.
        )show_estimatedobserved_ruleN)r   __init__r   r   
setdefaultr   super)selfr   argskwargs	__class__s       Z/var/www/api/v1/venv_getwork_v1/lib/python3.12/site-packages/holidays/countries/burundi.pyr   zBurundi.__init__    sT     	""4(&&t,  6LM/?;$)&)    c                    | j                  | j                  d             | j                  dk\  r | j                  | j                  d             | j                  dk\  r | j                  | j	                  d             | j                  | j                  d             | j                  d       | j                  dk\  r | j                  | j                  d	             | j                  | j                  d
             | j                  | j                  d             | j                  | j                  d             | j                  dk\  r | j                  | j                  d             | j                  | j                  d             | j                  | j                  d             | j                  d      D ]  }| j                  |        | j                  d      D ]  }| j                  |        y )NzNew Year's Dayi  z	Unity Dayi  zPresident Ntaryamira Dayz
Labour DayzAscension Dayi  zPresident Nkurunziza DayzIndependence DayzAssumption DayzPrince Louis Rwagasore Dayi  zPresident Ndadaye's DayzAll Saints' DayzChristmas DayzEid ul FitrzEid al Adha)_add_observed_add_new_years_day_year_add_holiday_feb_5_add_holiday_apr_6_add_labor_day_add_ascension_thursday_add_holiday_jun_8_add_holiday_jul_1_add_assumption_of_mary_day_add_holiday_oct_13_add_holiday_oct_21_add_all_saints_day_add_christmas_day_add_eid_al_fitr_day_add_eid_al_adha_day)r   dts     r   _populate_public_holidaysz!Burundi._populate_public_holidays-   s   4223CDE ::t66{CD ::t667QRS 	4..|<= 	$$_5 ::t667QRS 	4223EFG 	4;;<LMN 	4334PQR ::t778QRS 	4334EFG 	422?CD ++M:Br" ; ++M:Br" ;r   )T)__name__
__module____qualname____doc__countryobserved_label
start_yearboolr   r*   __classcell__)r   s   @r   r	   r	      s*     G$NJ*t */#r   r	   c                       e Zd Zy)r
   Nr+   r,   r-    r   r   r
   r
   _       r   r
   c                       e Zd Zy)BDINr5   r6   r   r   r9   r9   c   r7   r   r9   N)
holidays.groupsr   r   r   holidays.observed_holiday_baser   r   r	   r
   r9   r6   r   r   <module>r<      sA    V U OK#!#46K_ K#\	 		' 	r   