
    \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JrJrJr  S SKJrJrJrJrJr  S SKJrJrJrJrJr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FEBMARAPRMAYJUNJULAUGSEPOCTNOVDECFRISUN)ChineseCalendarHolidaysChristianHolidaysInternationalHolidaysIslamicHolidaysStaticHolidays)ObservedHolidayBaseFRI_TO_NEXT_MONFRI_TO_NEXT_SATSUN_TO_NEXT_TUESUN_TO_NEXT_WEDFRI_SUN_TO_NEXT_SAT_MONc                      ^  \ rS rSrSrSrSr\" S5      r\" S5      r	\" S5      r
Sr\\1rS	rS
S.S\4U 4S jjjrS rSrU =r$ )Brunei1   a  Brunei holidays.

References:
    * <https://web.archive.org/web/20250421085743/https://www.labour.gov.bn/lists/upcomming%20events/allitems.aspx>
    * <https://web.archive.org/web/20250421234214/https://www.labour.gov.bn/Download/GUIDE%20TO%20BRUNEI%20EMPLOYMENT%20LAWS%20-%20english%20version-3.pdf>
    * <https://web.archive.org/web/20250429080129/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk12-1997.pdf>
    * <https://web.archive.org/web/20250429080148/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk14-1998.pdf>
    * <https://web.archive.org/web/20250429080326/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk15-1998.pdf>
    * <https://web.archive.org/web/20250429080154/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk14-1999.pdf>
    * <https://web.archive.org/web/20250428210642/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk05-2000.pdf>
    * <https://web.archive.org/web/20250429075903/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2000.pdf>
    * <https://web.archive.org/web/20250429080137/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk13-2000.pdf>
    * <https://web.archive.org/web/20250428210647/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk07-2001.pdf>
    * <https://web.archive.org/web/20250429080046/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk11-2002.pdf>
    * <https://web.archive.org/web/20250428210125/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk02-2003.pdf>
    * <https://web.archive.org/web/20250429075953/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-2004.pdf>
    * <https://web.archive.org/web/20250429080052/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk11-2005.pdf>
    * <https://web.archive.org/web/20250429080357/https://www.pmo.gov.bn/Circulars%20PDF%20Library/jpmsk12-2005.pdf>
    * <https://web.archive.org/web/20250428210640/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk03-2006.pdf>
    * <https://web.archive.org/web/20250429080354/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk17-2006.pdf>
    * <https://web.archive.org/web/20250429080005/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2007.pdf>
    * <https://web.archive.org/web/20250428211158/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-2008.pdf>
    * <https://web.archive.org/web/20241105162103/https://chittychat.wordpress.com/wp-content/uploads/2008/11/school_terms_20091.pdf>
    * <https://web.archive.org/web/20250428210649/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk08-2009.pdf>
    * <https://web.archive.org/web/20250428211159/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-2010.pdf>
    * <https://web.archive.org/web/20250429080022/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2011.pdf>
    * <https://web.archive.org/web/20250428211153/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk08-2012.pdf>
    * <https://web.archive.org/web/20250429084043/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2012.pdf>
    * <https://web.archive.org/web/20250428210648/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk07-2013.pdf>
    * <https://web.archive.org/web/20250428211155/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk09-14.pdf>
    * <https://web.archive.org/web/20180713195340/http://www.jpm.gov.bn:80/Circulars%20PDF%20Library/jpmsk11-2015.pdf>
    * <https://web.archive.org/web/20180713195319/http://www.jpm.gov.bn:80/Circulars%20PDF%20Library/jpmsk09-2016.pdf>
    * <https://web.archive.org/web/20191124043940/http://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk07-2017.pdf>
    * <https://web.archive.org/web/20191124043933/http://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk08-2017.pdf>
    * <https://web.archive.org/web/20191124043741/http://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk11-2018.pdf>
    * <https://web.archive.org/web/20220125022931/http://jpm.gov.bn/Circulars%20PDF%20Library/jpmsk06-2019.pdf>
    * <https://web.archive.org/web/20240724020501/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2020.pdf>
    * <https://web.archive.org/web/20240724020246/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk10-2021.pdf>
    * <https://web.archive.org/web/20240901140406/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk04-2022.pdf>
    * <https://web.archive.org/web/20250428091155/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk04-2023.pdf>
    * <https://web.archive.org/web/20241105052917/https://www.jpm.gov.bn/Circulars%20PDF%20Library/jpmsk06-2024.pdf>

Checked with:
    * <https://web.archive.org/web/20250414071145/https://asean.org/wp-content/uploads/2021/12/ASEAN-National-Holidays-2022.pdf>
    * <https://web.archive.org/web/20250414071156/https://asean.org/wp-content/uploads/2022/12/ASEAN-Public-Holidays-2023.pdf>
    * <https://web.archive.org/web/20250130135348/https://www.timeanddate.com/holidays/brunei/>
    * [Jubli Emas Sultan Hassanal Bolkiah](https://web.archive.org/web/20241127203518/https://www.brudirect.com/news.php?id=28316)
BNmsz%s (anggaran)z%s (diperhatikan)z%s (diperhatikan, anggaran))en_USr"   thi  T)islamic_show_estimatedr%   c                <  > [         R                  " U 5        [        R                  " U 5        [        R                  " U 5        [        R                  " U [
        US9  [        R                  " U [        S9  UR                  S[        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_estimated)r'   observed_ruleN)r   __init__r   r   r   BruneiIslamicHolidaysr   BruneiStaticHolidays
setdefaultr   super)selfr%   argskwargs	__class__s       lC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\holidays/countries/brunei.pyr*   Brunei.__init__w   s|     	 ((.""4(&&t,  +<R	
 	*>?/+BC$)&)    c                    U R                  U R                  [        S5      5      5        U R                  U R                  [        S5      5      5        U R                  U R	                  [        S5      5      5        U R                  U R                  [        S5      5      5        U R                  U R                  [        S5      5      5        U R                  U R                  [        S5      5      5        U R                  [        S5      5       H  nU R                  U5        M     U R                  [        S5      5       H  nU R                  U5        M     U R                  [        S	5      5       H  nU R                  U5        M     [        S
5      nU R                  S:  a  U R                  U5       H  nU R                  U[        [        -   S9  M      U R                  U5       H  nU R                  U[        [         -   S9  M      U R#                  U5       H  nU R                  U[$        [         -   S9  M      OU R                  S:X  a*  U R                  U5       H  nU R                  U5        M     O\U R                  U5       H  nU R                  U[        [         -   S9  M      U R                  U5       H  nU R                  U5        M     U R'                  [        S5      5       H  nU R                  U5        M     U R)                  [        S5      5       H  nU R                  U5        M     U R+                  [        S5      5       H  nU R                  U5        M     g )NAwal Tahun MasihizTahun Baru CinaHari Kebangsaanz&Hari Angkatan Bersenjata Diraja Bruneiz#Hari Keputeraan KDYMM Sultan Brunei
Hari NatalzIsrak dan MikrajzHari Pertama BerpuasaHari Nuzul Al-QuranzHari Raya Aidil Fitri  )rule  zHari Raya Aidil AdhazAwal Tahun HijrahzMaulidur Rasul)_add_observed_add_new_years_daytr_add_chinese_new_years_day_add_holiday_feb_23_add_holiday_may_31_add_holiday_jul_15_add_christmas_day_add_isra_and_miraj_day_add_ramadan_beginning_day_add_nuzul_al_quran_day_year_add_eid_al_fitr_dayr   r   _add_eid_al_fitr_day_twor   _add_eid_al_fitr_day_threer   _add_eid_al_adha_day_add_islamic_new_year_day_add_mawlid_day)r/   dtnames      r3   _populate_public_holidays Brunei._populate_public_holidays   s   
 	42226I3JKL 	4::2>O;PQR 	433B7H4IJK 	$$R(P%QR	
 	$$R(M%NO	
 	4222l3CDE ..r2D/EFBr" G 11"5L2MNBr" O ..r2G/HIBr" J& )*:://5""2Oo,M"N 633D9""2Oo,M"N :55d;""2Oo,M"N <ZZ4//5""2& 6 //5""2Oo,M"N 633D9""2& : ++B/E,FGBr" H 004G1HIBr" J &&r*:';<Br" =r5    )__name__
__module____qualname____firstlineno____doc__countrydefault_languager@   estimated_labelobserved_labelobserved_estimated_labelsupported_languagesr   r   weekend
start_yearboolr*   rR   __static_attributes____classcell__)r2   s   @r3   r   r   1   sk    /b G)O+,N!"?@/CjGJ=A *d * *"y# y#r5   r   c                       \ rS rSrSrg)r!   i  rT   NrU   rV   rW   rX   rc   rT   r5   r3   r!   r!         r5   r!   c                       \ rS rSrSrg)BRNi  rT   Nrf   rT   r5   r3   ri   ri     rg   r5   ri   c                   L   \ rS rSrSr\S4\S4\S4\S4\S4\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\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\	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4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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4\S4\S4\S4S%.rS&rg')(r+   i  )                                           )  r=                         rl            )rk   rz   r|     r     r   rl         
   )rk   r~   i      r     rl            )	rk   rz   r=   r{     i  r   r   r         )r=   r|   r}   r~   r   r;   r   r   r   r   r   r   r   rl            )rk   rz   r{   r}   r~   r   i  r;   r   r   r     r   rl      )rk   r{   r}   r~   r   r;   r   r   r   r   r   rl   rT   N)rU   rV   rW   rX   !EID_AL_ADHA_DATES_CONFIRMED_YEARSr   r   r   r   r   r   r   r
   EID_AL_ADHA_DATES!EID_AL_FITR_DATES_CONFIRMED_YEARSr   r   EID_AL_FITR_DATES$HIJRI_NEW_YEAR_DATES_CONFIRMED_YEARSHIJRI_NEW_YEAR_DATES$ISRA_AND_MIRAJ_DATES_CONFIRMED_YEARSr   r	   ISRA_AND_MIRAJ_DATESMAWLID_DATES_CONFIRMED_YEARSMAWLID_DATES$NUZUL_AL_QURAN_DATES_CONFIRMED_YEARSNUZUL_AL_QURAN_DATES'RAMADAN_BEGINNING_DATES_CONFIRMED_YEARSRAMADAN_BEGINNING_DATESrc   rT   r5   r3   r+   r+     s   (4%BiBiAhBiBiAhRy3)$AhBiBiBiBiBiAh" )5%BiBiAhAhBiAhBiBi	 ,8(BiBiBiAhBiAhBiBi	 ,8(BiAhBiBiBiBiBiAhBi
 $0 BiBiBiAhBiAhBiQx#r#BiAhBiBiBiAhL" ,8(BiQx#r#AhBiAhBiBiAhBiBiAhBiBiBi" /;+BiBiBiBiAhBiBiBiBiAhBiAhr5   r+   c                       \ rS rSr\S\" S5      4\S\" S5      4\S\" S5      4S.r\	S	\" S
5      4\
S\" S5      4\S\" S5      4\S\" S5      4S.rSrg)r,   iy  r   zEIstiadat Pengisytiharan Duli Pengiran Muda Mahkota Al-Muhtadee Billah	   z'Istiadat Perkahwinan Diraja Brunei 2004ru   z"Jubli Emas Sultan Hassanal Bolkiah)rk   r~   r   r   r9   r   r8   rr   r7   r   r:   )rz   r|   r   r   rT   N)rU   rV   rW   rX   r   r@   r   r   special_public_holidaysr   r   r   r    special_public_holidays_observedrc   rT   r5   r3   r,   r,   y  s     VW	
 ArCDEAr>?@ B<()B,-.Ar-./B012	($r5   r,   N)%r   r@   holidays.calendarsr   holidays.calendars.gregorianr   r   r   r   r	   r
   r   r   r   r   r   r   r   r   holidays.groupsr   r   r   r   r   holidays.observed_holiday_baser   r   r   r   r   r   r   r!   ri   r+   r,   rT   r5   r3   <module>r      s    " 5      P#P#f	 		& 	j2 jZ r5   