
    ih4)                         d dl m Z d dl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  G d deeee      Z G d de      Z G d	 d
e      Z G d d      Zy)    )gettext)JANMARAPRMAYAUGOCTNOVDEC)ChristianHolidaysInternationalHolidaysStaticHolidays)HolidayBasec                   8     e Zd ZdZdZdZdZdZ fdZd Z	 xZ
S )Hungaryal  Hungary holidays.

    References:
        * <https://en.wikipedia.org/wiki/Public_holidays_in_Hungary>
        * <https://web.archive.org/web/20191002190510/http://hvg.hu:80/gazdasag/20170307_Megszavaztak_munkaszuneti_nap_lett_a_nagypentek>
        * <https://web.archive.org/web/20240307183735/http://www.tankonyvtar.hu/hu/tartalom/historia/92-10/ch01.html>
    HUhui  )en_USr   ukc                     t        j                  |        t        j                  |        t        j                  | t               t        |   |i | y )N)r   __init__r   r   HungaryStaticHolidayssuper)selfargskwargs	__class__s      Z/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/holidays/countries/hungary.pyr   zHungary.__init__"   sB    ""4(&&t,&;<$)&)    c                 N   | j                  t        d             | j                  dk  s| j                  dk\  r<t        d      }| j                  |       | j                  dk\  r| j	                  |       | j                  dk\  r| j                  t        d             | j                  t        d             | j                  d	k7  r| j                  t        d
             | j                  t        d             | j                  dk  s| j                  dk\  r| j                  t        d             | j                  dk\  rEt        d      }| j                  |       d| j                  cxk  rdk  rn n| j                  |       | j                  d| j                  cxk  rdk  rn nt        d      n
t        d             | j                  dk\  r| j                  t        d             | j                  t        d             | j                  d	k7  r| j                  t        d             d| j                  cxk  rdk  ran y | j!                  t        d             | j#                  t        d             | j                  dvr| j%                  t        d             y y y )Nu   Újévi    u   Nemzeti ünnep  i  u   Nagypénteku   Húsvéti  u   Húsvét Hétfőu	   Pünkösdi    u   Pünkösdhétfői  u   A Munka ünnepei  u   A kenyér ünnepeu   Az államalapítás ünnepe  Mindenszenteku
   Karácsonyu   Karácsony másnapjau0   A Tanácsköztársaság kikiáltásának ünnepeu   A felszabadulás ünnepe>     r!   u/   A nagy októberi szocialista forradalom ünnepe)_add_new_years_daytr_year_add_holiday_mar_15_add_holiday_oct_23_add_good_friday_add_easter_sunday_add_easter_monday_add_whit_sunday_add_whit_monday_add_labor_day_add_labor_day_two_add_holiday_aug_20_add_all_saints_day_add_christmas_day_add_christmas_day_two_add_holiday_mar_21_add_holiday_apr_4_add_holiday_nov_7)r   names     r   _populate_public_holidaysz!Hungary._populate_public_holidays(   s(   8-::t!3&'D$$T*zzT!((.::!!"]"34 	:/::##B'9$:; 	bo.::t!3!!"%7"89::'(D%tzz)T)''-   tzz)T) "# 12	
 ::$$R%89 	< 01::''+A(BC 4::%%$$R(Z%[\ ##B'A$BCzz-''+\(]^ . &r   )__name__
__module____qualname____doc__countrydefault_language
start_yearsupported_languagesr   r;   __classcell__)r   s   @r   r   r      s,     GJ/*A_r   r   c                       e Zd Zy)r   Nr<   r=   r>    r   r   r   r   l       r   r   c                       e Zd Zy)HUNNrF   rG   r   r   rJ   rJ   p   rH   r   rJ   c                      e Zd ZdZ ed      Z ed      Zi dededfdeded	fed
edffded
edfde	de	dfde
dedfed
edfed
edffdededfededfed
edffded
edfde	de	dfededfededfededfed
edfeded	ffdededfed
edffd e
dedfed
edfed
ed!ffd"ededfed
edffd#e	de	dfeded$ffd%e	de	dfededfededfededfed
edfeded	ffd&e
dedfed
edfed
edffd'ede	dfeded	fed
edffd(ed
ed)fd*e	de	dfeded$ffe	de	d
fededfededfededfed
edfeded+ffeded
fed
ed,fededffe
de
dfed
edfed
ed!ffededfeded-fed
edffe	de	d$fededffe	de	dfededfeded!fededfed
ed+fededffededfed
ed,fededffeded	fed
edffed
ed)fe	de	dfededffeded.fed
ed,fededffe
de
dfed
edfed
ed!ffededfeded-fed
edffd/Zy0)1r   a  Hungary special holidays.

    References:
        * [1991](https://archive.org/details/7-1990-xii-27-mum-rendelet)
        * [1992](https://web.archive.org/web/20250526085935/https://jogkodex.hu/jsz/1992_3_mum_rendelet_5937748)
        * [1993](https://web.archive.org/web/20250526090343/https://jogkodex.hu/jsz/1992_7_mum_rendelet_7815697)
        * [1994](https://web.archive.org/web/20250526090541/https://jogkodex.hu/jsz/1993_3_mum_rendelet_3120363)
        * [1997](https://web.archive.org/web/20250526090817/https://jogkodex.hu/jsz/1996_11_mum_rendelet_3554324)
        * [1998](https://web.archive.org/web/20250526091318/https://jogkodex.hu/jsz/1997_18_mum_rendelet_7493439)
        * [1999](https://web.archive.org/web/20250526093916/https://jogkodex.hu/jsz/1998_3_szcsm_rendelet_7336830)
        * [2001](https://archive.org/details/43-2000-xii-18-gm-rendelet)
        * [2002](https://web.archive.org/web/20250526071659/https://jogkodex.hu/jsz/2001_25_gm_rendelet_9200619)
        * [2003](https://web.archive.org/web/20250526071517/https://jogkodex.hu/jsz/2002_2_fmm_rendelet_1831209)
        * [2004](https://web.archive.org/web/20250526071310/https://jogkodex.hu/jsz/2003_9_fmm_rendelet_8666269)
        * [2005](https://web.archive.org/web/20250526071135/https://jogkodex.hu/jsz/2004_25_fmm_rendelet_4309634)
        * [2007](https://web.archive.org/web/20250526064108/https://jogkodex.hu/jsz/2006_4_szmm_rendelet_8628960)
        * [2008](https://web.archive.org/web/20250526051643/https://jogkodex.hu/jsz/2007_27_szmm_rendelet_3904252)
        * [2009](https://web.archive.org/web/20250526051816/https://jogkodex.hu/jsz/2008_16_szmm_rendelet_7668376)
        * [2010](https://web.archive.org/web/20250428204804/https://njt.hu/jogszabaly/2009-20-20-1X)
        * [2011](https://web.archive.org/web/20250428204915/https://njt.hu/jogszabaly/2010-7-20-2X)
        * [2012](https://web.archive.org/web/20250428204812/https://njt.hu/jogszabaly/2011-39-20-2X)
        * [2012-2013](https://web.archive.org/web/20230719163315/https://njt.hu/jogszabaly/2012-28-20-2X)
        * [2014](https://web.archive.org/web/20241104082745/https://njt.hu/jogszabaly/2013-33-20-2X)
        * [2015](https://web.archive.org/web/20241104081744/https://njt.hu/jogszabaly/2014-28-20-2X)
        * [2016](https://web.archive.org/web/20230719163025/https://njt.hu/jogszabaly/2015-18-20-2X)
        * [2018](https://web.archive.org/web/20250429080658/https://njt.hu/jogszabaly/2017-61-B0-15)
        * [2019](https://web.archive.org/web/20241211095342/https://njt.hu/jogszabaly/2018-6-20-53)
        * [2020](https://web.archive.org/web/20241104072826/https://njt.hu/jogszabaly/2019-7-20-53)
        * [2021](https://web.archive.org/web/20241102122816/https://njt.hu/jogszabaly/2020-14-20-7Q)
        * [2022](https://web.archive.org/web/20241107133627/https://njt.hu/jogszabaly/2021-23-20-7Q)
        * [2024](https://web.archive.org/web/20241105131832/https://njt.hu/jogszabaly/2023-15-20-8P)
        * [2025](https://web.archive.org/web/20241219165144/https://njt.hu/jogszabaly/2024-11-20-2X)
        * [2026](https://web.archive.org/web/20250526083742/https://jogkodex.hu/jsz/2025_10_ngm_rendelet_5591314)
    z%Y. %m. %d.u#   Pihenőnap (%s-től helyettesítve)r"         r#            i     i        i           i  
      r$   i                    i  i     i  i     i  i  i  i     i              )i  i  i  i  i  i  i  i  i  i  i  i  i  N)r<   r=   r>   r?   r(   substituted_date_formatsubstituted_labelr   r   r   r   r   r	   r   r
   special_public_holidaysrG   r   r   r   r   t   sZ   !H !/@ACsBR C"c2"c2
C 	sBR C 	sBR C 	!S""c2"c2
C 	!S""c2"c2
C$ 	sBR %C& 	"c2"c2"c2!S""c2"c2
'C6 	"c2"c2
7C> 	!S""c2"c2
?CH 	!S""c2
ICP 	"c2"c1
QCX 	"c2"c2"c2!S""c2"c2
YCh 	!S""c2"c2
iCr 	!S""c2"c2
sC| 	sBR }C~ 	"c2"c1
CH "c2"c2"c2!S""c2"c1
 "c2"c1"c2
 !S""c2"c2
 !S""c1"c2
 "c1"c2

 "c2"c2"c2!S""c1"c2
 "c2"c1"c2
 "c2"c2
 BR "c2"c2

 "c1"c1"c2
 !S""c2"c2
 !S""c1"c2
}Cr   r   N)r   r(   holidays.calendars.gregorianr   r   r   r   r   r	   r
   r   holidays.groupsr   r   r   holidays.holiday_baser   r   r   rJ   r   rG   r   r   <module>rl      sY    " O O O T T -U_k,.C^ U_p	 		' 	k kr   