
    ih)              	           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mZmZ d dlmZmZmZmZ d dlmZmZ  G d deeeee      Z G d d	e      Z G d
 de      Z G d de      Z G d d      Zy)    )gettext)_CustomIslamicHolidays)JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC)ChristianHolidaysInternationalHolidaysIslamicHolidaysStaticHolidays)ObservedHolidayBaseSAT_SUN_TO_NEXT_WORKDAYc                   t     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
def fdZd Z xZS )Nigeriaav  Nigeria holidays.

    References:
        * <https://en.wikipedia.org/wiki/Public_holidays_in_Nigeria>
        * [Public Holidays Decree 1979](https://web.archive.org/web/20240616072641/https://archive.gazettes.africa/archive/ng/1979/ng-government-gazette-supplement-dated-1979-02-01-no-5.pdf)
        * [Public Holidays (Amendment) Decree 1984](https://web.archive.org/web/20240615185836/https://archive.gazettes.africa/archive/ng/1984/ng-government-gazette-supplement-dated-1984-08-30-no-52-part-a.pdf)
        * [Public Holidays Act (2004 Consolidated Version)](https://web.archive.org/web/20250822094939/https://placng.org/lawsofnigeria/view2.php?sn=467)
        * <https://web.archive.org/web/20250829024504/https://fmino.gov.ng/may-29th-in-nigerias-history/>
        * <https://web.archive.org/web/20250829084254/https://www.iita.org/wp-content/uploads/2017/01/The-Bulletin-23-27-May-2011-No.-2070.pdf>
        * <https://web.archive.org/web/20170618031224/http://pulse.ng/local/inauguration-day-fg-declares-may-29-public-holiday-id3795830.html>
        * <https://web.archive.org/web/20250829081956/https://dailypost.ng/2019/05/27/fg-declares-may-29-public-holiday/>
        * <https://web.archive.org/web/20230620060859/https://interior.gov.ng/fg-declares-monday-may-29th-2023-work-free-day-for-presidential-inauguration/>
        * <https://web.archive.org/web/20250829060151/https://statehouse.gov.ng/news/president-buhari-declares-june-12-the-new-democracy-day/>
        * <https://web.archive.org/web/20250829085227/https://www.nairaland.com/4548139/may-29-remains-inauguration-day>
        * <https://web.archive.org/web/20250829030023/https://www.timeanddate.com/holidays/nigeria/2025?hol=9>

    In-lieu holidays have been in effect since at least 2010:
        * <http://archive.today/2025.08.30-142719/https://www.vanguardngr.com/2010/05/fg-declares-may-31-public-holiday-for-democracy/>
    NGen_NGz%s (estimated)z%s (observed, estimated)z%s (observed)  )r   en_UST)islamic_show_estimatedr   c                4   t        j                  |        t        j                  |        t        j                  | t        |       t        j                  | t               |j                  dt               |j                  dd       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_ruleobserved_since  N)
r   __init__r   r   NigeriaIslamicHolidaysr   NigeriaStaticHolidays
setdefaultr   super)selfr   argskwargs	__class__s       Z/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/holidays/countries/nigeria.pyr$   zNigeria.__init__=   s     	""4(&&t,  ,=S	
 	&;</+BC*D1$)&)    c                 8   t               }|j                  | j                  t        d                   | j	                  t        d             | j                  t        d             | j                  dk\  r)|j                  | j                  t        d                   | j                  dk\  rKt        d      }|j                  | j                  dk\  r| j                  |      n| j                  |             | j                  d	k\  r,| j                  d
z  dk(  r| j                  t        d             |j                  | j                  t        d                   |j                  | j                  t        d                   |j                  | j                  t        d                   |j                  | j                  t        d                   |j                  | j                  t        d                   |j                  | j!                  t        d                   |j                  | j#                  t        d                   |j                  | j%                  t        d                   | j&                  r| j)                  |       y y )NzNew Year's DayzGood FridayzEaster Monday  zWorkers' Day  zDemocracy Day          zPresidential Inauguration DayzNational DayzChristmas Dayz
Boxing DayzId el Mauludz
Id el FitrzId el Fitr HolidayzId el KabirzId el Kabir Holiday)setadd_add_new_years_daytr_add_good_friday_add_easter_monday_year_add_labor_day_add_holiday_jun_12_add_holiday_may_29_add_holiday_oct_1_add_christmas_day_add_christmas_day_twoupdate_add_mawlid_day_add_eid_al_fitr_day_add_eid_al_fitr_day_two_add_eid_al_adha_day_add_eid_al_adha_day_twoobserved_populate_observed)r)   dts_observednames      r-   _populate_public_holidaysz!Nigeria._populate_public_holidaysN   s   u 	004D1EFG 	b/0 	? 34 ::T00N1CDE ::o&D::% ((.--d3 ::$**q.A"5$$R(G%HI 	00N1CDE 	00O1DEF 	44R5EFG 	D00N1CDE 	D55b6FGH 	D99"=Q:RST 	D55b6GHI 	D99"=R:STU==##L1 r.   )__name__
__module____qualname____doc__countrydefault_languager9   estimated_labelobserved_estimated_labelobserved_label
start_yearsupported_languagesboolr$   rM   __classcell__)r,   s   @r-   r   r      sU    ( G)*O!"<=(NJ,=A *d *"92r.   r   c                       e Zd Zy)r   NrN   rO   rP    r.   r-   r   r          r.   r   c                       e Zd Zy)NGANr\   r]   r.   r-   r`   r`      r^   r.   r`   c                      e Zd ZdZi dedfdedfdedfded	fd
edfdedfdedfdedfdedfdedfdedfdedfde	dfde	dfde
dfde
dfd ed	fi d!edfd"ed#fd$ed%fd&edfd'edfd(ed)fd*ed+fd,ed-fd.edfd/ed%fd0ed1fd2ed3fd4edfd5ed6fd7ed)fd8ed+fd9ed:fd;ed)fiZdZi dedfded<fded+fdedfd
ed)fde	dfde	dfde
d=fde
dfde
d3fdedfdedfdedfdedfded>fd edfd!edfed=fed-fed#fed%ffed1fedfed?fedfed6fed)fed	fedfedfedfe	d?fd@ZdZi dedfded#fed%ffd
ed1fdedfdedfdedAfdedfdedfded<fded+fdedfdBedfded=fdedfd ed%fd!edfd"ed3fe	dAfe
dfe
d+fedCfedfedfed+fed6ffed)fedfed-fedfedDfdEZyF)Gr%   )r     r      i     i  	   i     i     i     r0      i     i  i     i     i  r4   i     i  i     i  
   i  i       r3                             r#           i           i     r2         r5      )rp   r3   r1   rs   rt   ru   i    ry   r{   r|   r#     r      i        )r1   ru   rw   r   r~   r   r   r   r   i  i  rb   N)rN   rO   rP   !EID_AL_ADHA_DATES_CONFIRMED_YEARSr   r   r   r   r   r
   r	   r   r   r   r   EID_AL_ADHA_DATES!EID_AL_FITR_DATES_CONFIRMED_YEARSr   EID_AL_FITR_DATESMAWLID_DATES_CONFIRMED_YEARSMAWLID_DATESr]   r.   r-   r%   r%      s\   (4%$sAh$sBi$ 	sAh$ 	sBi	$
 	sBi$ 	sAh$ 	sBi$ 	sBi$ 	sAh$ 	sBi$ 	sBi$ 	sAh$ 	sBi$ 	sAh$ 	sBi$  	sBi!$" 	sBi#$$ 	sBi%$& 	sAh'$( 	sBi)$* 	sAh+$, 	sBi-$. 	sBi/$0 	sAh1$2 	sBi3$4 	sAh5$6 	sBi7$8 	sBi9$: 	sAh;$< 	sAh=$> 	sBi?$@ 	sBiA$B 	sAhC$D 	sBiE$F 	sBiG$N )5% sBi sBi  	sAh  	sBi	 
 	sBi  	sBi  	sAh  	sBi  	sBi  	sAh  	sBi  	sBi  	sBi  	sBi  	sAh   	sBi! " 	sAh# $ BiBiQx#r#BiAhBiAhBiBiBiBiAhBiBi? H $0 sBiQx#r# 	sBi 	sAh	
 	sBi 	sBi 	sAh 	sBi 	sBi 	sAh 	sBi 	sBi 	sBi 	sAh 	sBi  	sBi!" 	sAh#$ BiBiAhBiBiAhQx#r#BiAhBiBiAh;Lr.   r%   c                   h    e Zd ZdZ ed      Zedefedeffed ed      fedefe	d ed	      fd
Z
y)r&   a  Nigeria special holidays.

    References:
        * <https://web.archive.org/web/20250829090324/https://www.pambazuka.org/governance/nigeria-holiday-blow-presidential-hopeful>
        * <https://web.archive.org/web/20250829084913/https://www.nbcnews.com/id/wbna36974655>
        * <https://web.archive.org/web/20250829081641/https://businessday.ng/uncategorized/article/2019-elections-fg-declares-friday-public-holiday-excludes-banksothers/>
        * <https://web.archive.org/web/20250829024209/https://statehouse.gov.ng/news/new-date-for-special-federal-executive-council-session-in-honour-of-president-muhammadu-buhari-to-be-announced/>
    zPublic Holiday for Electionsrv   r   rh   z,Day of Mourning for President Umaru Yar'Aduar   r   z.Day of Mourning for President Muhammadu Buhari)ry   r#   r2   rb   N)rN   rO   rP   rQ   r9   name_electionsr   r	   r   r   special_public_holidaysr]   r.   r-   r&   r&     sc     67N "n%"n%

 ArHIJB'BKLM
r.   r&   N)r   r9   holidays.calendarsr   holidays.calendars.gregorianr   r   r   r   r	   r
   r   r   r   r   r   r   holidays.groupsr   r   r   r   holidays.observed_holiday_baser   r   r   r   r`   r%   r&   r]   r.   r-   <module>r      sv    " 5 c c c c  Xm2*,A?Tbm2`	 		' 	n3 nb r.   