
    \h,              	           S SK J r  S SKJr  S SKJrJrJrJrJ	r	J
r
JrJrJrJrJr  S SKJrJr  S SKJrJrJrJr  S SKJr   " S S\\\\\5      r " S	 S
\5      r " S S\5      r " S S\5      r " S S5      rg)    )gettext)_CustomIslamicHolidays)JANMARAPRMAYJUNJULAUGSEPOCTNOVDEC)BANKPUBLIC)ChristianHolidaysInternationalHolidaysIslamicHolidaysStaticHolidays)HolidayBasec                   p   ^  \ rS rSrSrSr\\4rSr	\
" S5      rSrSrSS	.S
\4U 4S jjjrS rS rSrU =r$ )Tanzania   a
  Tanzania holidays.

References:
    * [1962](https://old.tanzlii.org/tz/legislation/act/1962/48/)
    * [1964](https://web.archive.org/web/20250426030228/http://www.parliament.go.tz/polis/uploads/bills/acts/1565172859-The%20Public%20Holidays%20Ordinance%20(amendment)%20Act,%201964.pdf)
    * [1966](https://web.archive.org/web/20241130122429/http://www.parliament.go.tz/polis/uploads/bills/acts/1565692654-The%20Public%20Holidays%20Ordinance%20(Amendment)%20Act,%201966.pdf)
    * [1993](https://web.archive.org/web/20250425095011/https://www.parliament.go.tz/polis/uploads/bills/acts/1566639469-The%20Written%20Laws%20(Miscellaneous%20Amendments)%20Act,%201993.pdf)
    * [1994](https://web.archive.org/web/20241130115733/http://www.parliament.go.tz/polis/uploads/bills/acts/1566638051-The%20Written%20Laws%20(Miscellaneous%20Amendments)%20(No.%202)%20Act,%201994.pdf)
    * [2002](https://web.archive.org/web/20250427172313/http://parliament.go.tz/polis/uploads/bills/acts/1454076376-ActNo-25-2002.pdf)
    * <https://en.wikipedia.org/wiki/Public_holidays_in_Tanzania>
    * <https://web.archive.org/web/20250427125715/https://mytanzaniatimes.blogspot.com/2014/08/holiday-nane-nane-farmers-day-in.html>
    * <https://web.archive.org/web/20231209061602/https://www.theeastafrican.co.ke/tea/business/tanzania-declares-public-holiday-on-census-day-3918836>
    * <https://web.archive.org/web/20250413194112/https://www.dw.com/en/samia-suluhu-hassan-who-is-tanzanias-new-president/a-56932264>

Checked With:
    * [2023](https://web.archive.org/web/20250403094322/https://www.bot.go.tz/webdocs/Other/2023%20public%20holidays.pdf)
    * [2022](https://web.archive.org/web/20230123001009/https://www.bot.go.tz/webdocs/Other/PUBLIC%20HOLIDAYS%202022.pdf)
    * [2021](https://web.archive.org/web/20210812134750/https://www.bot.go.tz/webdocs/Other/PUBLIC%20HOLIDAYS%202021.pdf)
    * [2020](https://web.archive.org/web/20201219014125/https://www.bot.go.tz/webdocs/Other/PUBLIC%20HOLIDAYS%202020.pdf)
    * [2018](https://web.archive.org/web/20190528223244/http://issamichuzi.blogspot.com:80/2017/11/sikukuu-za-kitaifa-zenye-mapumziko-kwa.html)
    * [from 2013 onwards](https://web.archive.org/web/20250130093727/https://www.timeanddate.com/holidays/tanzania/)

Limitations:
    * Only works from 1994 onwards due to the lack of sources for certain legislation:
        * Government Notices No. 79 of 1977
        * Government Notices No. 300 of 1985
        * Government Notices No. 296 of 1994
    * Exact Islamic holidays dates are only available for 2013-2023; the rest are estimates.
TZswz%s (makisio))en_USr   i  T)islamic_show_estimatedr   c                   > [         R                  " U 5        [        R                  " U 5        [        R                  " U [        US9  [
        R                  " U [        5        [        TU ]  " U0 UD6  g)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   TanzaniaIslamicHolidaysr   TanzaniaStaticHolidayssuper)selfr   argskwargs	__class__s       nC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\holidays/countries/tanzania.pyr!   Tanzania.__init__E   s]     	""4(&&t,  ->T	
 	&<=$)&)    c                 8    U R                  [        S5      5        g )NzSikukuu ya Pasaka)_add_easter_sundaytrr%   s    r)   _populate_bank_holidays Tanzania._populate_bank_holidaysT   s     	#6 78r+   c                 d   U R                  [        S5      5        U R                  [        S5      5        U R                  [        S5      5        U R	                  [        S5      5        U R                  [        S5      5        U R                  [        S5      5        U R                  [        S5      5        U R                  S:  a  U R                  [        S	5      5        U R                  [        S
5      5        U R                  [        S5      5        U R                  [        S5      5        U R                  [        S5      5        U R                  [        S5      5        U R                  [        S5      5        U R!                  [        S5      5        U R#                  [        S5      5        g )Nz
Mwaka MpyazMapinduzi ya Zanzibarz`Siku ya kumbukumbu ya Rais wa Kwanza wa Serikali ya Mapinduzi Zanzibar Sheikh Abeid Amani Karumez"Muungano wa Tanganyika na ZanzibarzSikukuu ya WafanyakaziSabasabazSiku ya Wakulimai  zKumbukumbu ya Mwalimu NyererezUhuru na JamhurizKuzaliwa KristozSiku ya Kupeana Zawadiz
Ijumaa KuuzJumatatu ya PasakazEid El-FitryzEid El-HajjMaulidi)_add_new_years_dayr.   _add_holiday_jan_12_add_holiday_apr_7_add_holiday_apr_26_add_labor_day_add_holiday_jul_7_add_holiday_aug_8_year_add_holiday_oct_14_add_holiday_dec_9_add_christmas_day_add_christmas_day_two_add_good_friday_add_easter_monday_add_eid_al_fitr_day_add_eid_al_adha_day_add_mawlid_dayr/   s    r)   _populate_public_holidays"Tanzania._populate_public_holidays\   sm    	< 01 	  $;!<= 	,	
 	  $H!IJ 	B789 	:/ 	#5 67 ::$$R(G%HI 	#5 67 	#4 56 	##B'?$@A 	b./ 	#7 89 	!!"^"45 	!!"]"34 	R	]+r+    )__name__
__module____qualname____firstlineno____doc__countryr   r   supported_categoriesdefault_languager.   estimated_labelsupported_languages
start_yearboolr!   r0   rF   __static_attributes____classcell__)r(   s   @r)   r   r      sY    < G &>(O)J=A *d * *9D, D,r+   r   c                       \ rS rSrSrg)r      rH   NrI   rJ   rK   rL   rU   rH   r+   r)   r   r          r+   r   c                       \ rS rSrSrg)TZA   rH   NrY   rH   r+   r)   r\   r\      rZ   r+   r\   c            
           \ rS rSrSr\S4\S4\S4\S4\S4\S4\S	4\	S
4S.r
Sr\S
4\S4\S4\	S4\	S4\S4\S4\S4S.rSr\S4\S4\S44\S4\S4\S4\S	4\S4\S4\S4S.	rSrg)r"      )                      
      )              ra   )r`   i                 )rj     rk   rl   rn   ro   rp   ra               	      )	rj   rv   rk   rl   rm   rn   ro   rp   ra   rH   N)rI   rJ   rK   rL   !EID_AL_ADHA_DATES_CONFIRMED_YEARSr   r   r   r
   r	   EID_AL_ADHA_DATES!EID_AL_FITR_DATES_CONFIRMED_YEARSr   r   EID_AL_FITR_DATESMAWLID_DATES_CONFIRMED_YEARSr   r   r   MAWLID_DATESrU   rH   r+   r)   r"   r"      s    (4%AhBiAhBiBiBiBiBi	 )5%BiBiAhBiAhBiAhBi	 $0 BiQx#r#BiAhBiBiBiAhBi
Lr+   r"   c                       \ rS rSr\" S5      r\" S5      r\" S5      r\" S5      r\	S\4\
S\4\S\4\S	\4\S\44\	S
\4S.rSrg)r#   i  z,Sikukuu ya Kuapishwa kwa John Pombe Magufuliz$Sikukuu ya Uchaguzi Mkuu wa Tanzaniaz*Siku ya Sensa ya Kitaifa ya Watu na MakazizMazishi cha John Pombe Magufuli   rb   r|   re      )i  rv   i  ro   rp   rH   N)rI   rJ   rK   rL   r.   john_magufuli_inaugurationtz_election_dayphc_census_dayjohn_magufuli_funeralr   r   r   r   special_public_holidaysrU   rH   r+   r)   r#   r#     s     "$$R!S ?@O DEN @A B'A12B("+,"+,
 B'	r+   r#   N)r   r.   holidays.calendarsr   holidays.calendars.gregorianr   r   r   r   r	   r
   r   r   r   r   r   holidays.constantsr   r   holidays.groupsr   r   r   r   holidays.holiday_baser   r   r   r\   r"   r#   rH   r+   r)   <module>r      su    " 5 ^ ^ ^ ^ +  .E,"$9?NE,\	 		( 	$4 $N r+   