
    ih                         d dl m Z d dlmZ d dlmZmZmZ d dlm	Z	m
Z
mZ d dlmZ  G d dee	e
e      Z G d d	e      Z G d
 de      Z G d de      Zy)    )gettext)_CustomIslamicHolidays)JUNJULSEP)ChristianHolidaysInternationalHolidaysIslamicHolidays)HolidayBasec                   T     e Zd ZdZdZdZdZ ed      ZdZ	ddd	e
f fd
Zd Z xZS )CentralAfricanRepublicu  Central African Republic holidays.

    References:
        * <https://en.wikipedia.org/wiki/Public_holidays_in_the_Central_African_Republic>
        * [PUBLIC HOLIDAYS](https://web.archive.org/web/20171215122602/http://www.ais-asecna.org/pdf/gen/gen-2-1/04gen2-1-01.pdf)
        * <https://web.archive.org/web/20250122135347/https://corbeaunews-centrafrique.org/lindependance-et-la-fete-nationale-deux-dates-distinctes-pour-la-republique-centrafricaine/>
        * <https://web.archive.org/web/20250715092147/https://www.rfi.fr/fr/afrique/20160912-rca-fete-tabaski-est-desormais-jour-ferie>
        * <https://web.archive.org/web/20250715093233/https://www.aa.com.tr/fr/culture-et-arts/lofficialisation-des-fêtes-musulmanes-en-rca-nouvelle-donne-pour-la-cohésion-sociale/45806>
    CFfr)en_USr   u   %s (estimé)i  T)islamic_show_estimatedr   c                    t        j                  |        t        j                  |        t        j                  | t        |       t        |   |i | y)z
        Args:
            islamic_show_estimated:
                Whether to add "estimated" label to Islamic holidays name
                if holiday date is estimated.
        )clsshow_estimatedN)r   __init__r	   r
   %CentralAfricanRepublicIslamicHolidayssuper)selfr   argskwargs	__class__s       k/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/holidays/countries/central_african_republic.pyr   zCentralAfricanRepublic.__init__*   sL     	""4(&&t,  ;Lb	
 	$)&)    c                    | j                  t        d             | j                  dk\  r| j                  t        d             | j	                  t        d             | j                  t        d             | j                  t        d             | j                  t        d             | j                  dk\  r| j                  t        d	             | j                  dk\  r| j                  t        d
             | j                  t        d             | j                  t        d             t        d      }| j                  dv r| j                  |       n| j                  |       | j                  t        d             | j                  dk\  r5| j                  t        d             | j!                  t        d             y y )NzJour de l'ani  u   Journée Barthélemy Bogandau   Lundi de Pâquesu   Fête du Travail	Ascensionu   Lundi de Pentecôtei  u   Journée de prière généraleu   Jour de l'indépendance
Assomption	Toussaintu   Fête nationale>       u   Jour de Noël  u   Aïd al-Fitru   Aïd al-Adha)_add_new_years_daytr_year_add_holiday_mar_29_add_easter_monday_add_labor_day_add_ascension_thursday_add_whit_monday_add_holiday_jun_30_add_holiday_aug_13_add_assumption_of_mary_day_add_all_saints_day_add_holiday_dec_4_add_holiday_dec_1_add_christmas_day_add_eid_al_fitr_day_add_eid_al_adha_day)r   names     r   _populate_public_holidaysz0CentralAfricanRepublic._populate_public_holidays8   sw   > 23::$$R(F%GH 	#5 67 	B123 	$$R_5 	b!678::$$R(H%IJ::$$R(A%BC 	((L)9: 	  K1 #$::%##D)##D) 	? 34::%%b&89 %%b&89 r   )__name__
__module____qualname____doc__countrydefault_languagesupported_languagesr&   estimated_label
start_yearboolr   r7   __classcell__)r   s   @r   r   r      s>     G)(OJ=A *d *1:r   r   c                       e Zd Zy)r   Nr8   r9   r:    r   r   r   r   l       r   r   c                       e Zd Zy)CAFNrD   rE   r   r   rH   rH   p   rF   r   rH   c                   J    e Zd ZdZedfedfedfedfdZdZedfedfedfd	Z	y
)r   )r$                 )r$       rJ         )r$   rO   rP   N)
r8   r9   r:   !EID_AL_ADHA_DATES_CONFIRMED_YEARSr   r   EID_AL_ADHA_DATES!EID_AL_FITR_DATES_CONFIRMED_YEARSr   EID_AL_FITR_DATESrE   r   r   r   r   t   sQ    (4%BiBiAhAh	 )5%BiAhBir   r   N)r   r&   holidays.calendarsr   holidays.calendars.gregorianr   r   r   holidays.groupsr   r	   r
   holidays.holiday_baser   r   r   rH   r   rE   r   r   <module>r[      s[    " 5 6 6 U U -T:"$9?T:n		 		
  	,B r   