
    x7#h                         d dl m Z d dlmZ d dlmZmZmZmZm	Z	m
Z
mZmZmZmZ 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 G d de      Zy)    )gettext)_CustomIslamicHolidays)
MARAPRMAYJUNJULAUGSEPOCTNOVDEC)ChristianHolidaysInternationalHolidaysIslamicHolidays)ObservedHolidayBaseSUN_TO_NEXT_MONc                   p     e Zd ZdZdZdZ ed      Z ed      Z ed      Z	dZ
dZdd	ef fd
Zd Z xZS )Guineaa  Guinea holidays.

    References:
        * [Decree No. 2022-0526](https://igt.gov.gn/wp-content/uploads/2024/10/D-2022-0526-PRG-CNRD_221103_131021.pdf)
        * <https://www.timeanddate.com/holidays/guinea/>
        * <https://en.wikipedia.org/wiki/Public_holidays_in_Guinea>
        * <https://anydayguide.com/calendar/1878>
        * <https://www.timeanddate.com/holidays/guinea/second-republic-day>
        * <https://www.timeanddate.com/holidays/guinea/all-saints-day>

    According to Decree No. 2022-0526 of 2 November 2022:
        * Eid al-Adha became a two-day holiday (Article 1).
        * If New Year's Day, Independence Day or Eid al-Fitr fall on a non-working day,
            the next working day is also a holiday (Article 2).
    GNfru   %s (estimé)zLendemain de la %su   Lendemain de la %s (estimé))en_USr   i  islamic_show_estimatedc                     t        j                  |        t        j                  |        t        j                  | t        |       |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.
        )clsshow_estimatedobserved_ruleN)r   __init__r   r   GuineaIslamicHolidays
setdefaultr   super)selfr   argskwargs	__class__s       Y/var/www/api/v1/venv_getwork_v1/lib/python3.12/site-packages/holidays/countries/guinea.pyr   zGuinea.__init__3   s\     	""4(&&t,  +<R	
 	/?;$)&)    c                    | j                  t        d            }| j                  dk\  r| j                  |       d| j                  cxk  rdk  rn n| j	                  t        d             | j                  t        d             | j                  t        d             | j                  t        d             | j                  t        d	             | j                  t        d
            }| j                  dk\  r| j                  |       | j                  dk  r| j                  t        d             | j                  t        d             | j                  t        d             | j                  t        d             | j                  t        d            D ]#  }| j                  dk\  s| j                  |       % | j                  t        d             | j                  dk\  r| j!                  t        d             y y )Nu   Fête du Nouvel an  i    u    Jour de la Deuxième Républiqueu   Lundi de Pâquesu   Fête du Travailz!Anniversaire de l'Union Africaine
Assomptionu3   Fête anniversaire de l'indépendance de la Guinée	Toussaintu   Fête de NoëlzLendemain de la nuit du Maoloudz#Lendemain de la nuit Lailatoul Qadru   Jour de l'Aïd el-FitrzJour de la TabaskizLendemain de la Tabaski)_add_new_years_daytr_year_add_observed_add_holiday_apr_3_add_easter_monday_add_labor_day_add_africa_day_add_assumption_of_mary_day_add_holiday_oct_2_add_all_saints_day_add_christmas_day_add_mawlid_day_add_laylat_al_qadr_day_add_eid_al_fitr_day_add_eid_al_adha_day_add_eid_al_adha_day_two)r"   dts     r&   _populate_public_holidaysz Guinea._populate_public_holidaysB   s   $$R(<%=>::r"4::%%##B'I$JK 	#5 67 	B123 	R CDE 	((L)9: $$R(]%^_::r"::$$R_5 	#3 45 	R ABC 	$$R(M%NO ++B/G,HIBzzT!""2& J
 	!!"%9":;::))"-F*GH r'   )T)__name__
__module____qualname____doc__countrydefault_languager.   estimated_labelobserved_labelobserved_estimated_labelsupported_languages
start_yearboolr   r?   __classcell__)r%   s   @r&   r   r      sU      G(O,-N!"@A) J*t *2Ir'   r   c                       e Zd Zy)r   Nr@   rA   rB    r'   r&   r   r   w       r'   r   c                       e Zd Zy)GINNrN   rO   r'   r&   rR   rR   {   rP   r'   rR   c                   ,   e Zd Zedfedfedfedfedfedfedfedfed	fed
fedfdZedfedfedfedfedfedfedfedfe	dfe	dfe
dfdZedfedfedfedfedfedfedfedfedfedfedfdZedfedfedfedfedfedfedfe	dfe	dfe	dfe
dfdZy)r                        
            )i  i  i  i  i  i  r*   i  r)   i  i                                         	      N)r@   rA   rB   r   r
   r	   r   EID_AL_ADHA_DATESr   r   r   EID_AL_FITR_DATESr   r   r   MAWLID_DATESLAYLAT_AL_QADR_DATESrO   r'   r&   r   r      s[   BiBiAhBiBiBiBiBiBiBiAh BiAhBiBiAhBiBiAhBiBiBi BiBiAhBiBiBiBiAhBiBiAhL BiAhBiBiAhBiAhBiBiAhBir'   r   N)r   r.   holidays.calendarsr   holidays.calendars.gregorianr   r   r   r   r	   r
   r   r   r   r   holidays.groupsr   r   r   holidays.observed_holiday_baser   r   r   r   rR   r   rO   r'   r&   <module>rv      s^    " 5 Y Y Y U U O_I "35JO _ID	 		& 	72 7r'   