
    \h                         S SK JrJr  S SKJrJrJr  S SKJrJ	r	J
r
  S SKJrJrJr   " S S\\\	\
5      r " S S\5      r " S	 S
\5      r " S S5      rg)    )SEPNOV)ARMED_FORCESHALF_DAYPUBLIC)ChristianHolidaysInternationalHolidaysStaticHolidays)ObservedHolidayBaseSAT_TO_PREV_FRISUN_TO_NEXT_MONc                   H   ^  \ rS rSrSrSr\\\4r	Sr
SrU 4S jrS rSrU =r$ )	Palau   aN  Palau holidays.

References:
    * [Chapter 7, Holidays](https://web.archive.org/web/20250130144425/http://www.paclii.org/pw/legis/consol_act/gpt1262/)
    * <https://web.archive.org/web/20240627055859/https://www.palaugov.pw/wp-content/uploads/2017/11/RPPL-No.-10-15-re.-Family-Day-Holiday.pdf>
    * [EO336 Memorial Day repealed](https://web.archive.org/web/20250429131246/https://www.facebook.com/plugins/post.php?href=https://www.facebook.com/PalauPresident/posts/195883107230463)
    * [Earliest source for President's Day](https://web.archive.org/web/20250429075658/https://www.taiwanembassy.org/pal_en/post/792.html)

If any of the holidays enumerated in section 701 of this chapter falls on Sunday, the
following Monday shall be observed as a holiday. If any of the holidays enumerated in
section 701 of this chapter falls on Saturday, the preceding Friday shall be observed
as a holiday.

As there's no record of President's Day (Jun 1) and Independence Day (Oct 1) being
legal holiday before 2017, as seen in RPRL 10-15, they shall be assumed to start in 2018
for our current implementation.
PWz%s (observed)i  c                    > [         R                  " U 5        [        R                  " U 5        [        R                  " U [        5        UR                  S[        [        -   5        [        TU ]  " U0 UD6  g )Nobserved_rule)	r   __init__r	   r
   PalauStaticHolidays
setdefaultr   r   super)selfargskwargs	__class__s      kC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\holidays/countries/palau.pyr   Palau.__init__/   sW    ""4(&&t,&9:/?_+LM$)&)    c                 N   SnU R                  U R                  U5      5        U R                  U R                  U[        S9  U R                  U R	                  S5      5        U R                  U R                  S5      5        U R                  S;   a  U R                  S5        U R                  S:  a   U R                  U R                  S5      5        U R                  U R                  S	5      5        U R                  S
5        U R                  S:  a   U R                  U R                  S5      5        U R                  U R                  S5      5        U R                  S5        U R                  S:  a  U R                  S5        U R                  U R                  S5      5        g )NzNew Year's Day)namerulez	Youth DayzSenior Citizens Day>       zMemorial Dayi  zPresident's DayzConstitution Dayz	Labor DayzIndependence DayzUnited Nations DayzThanksgiving Dayi  z
Family DayzChristmas Day)_add_observed_add_new_years_day_next_year_new_years_dayr   _add_holiday_mar_15_add_holiday_may_5_year_add_holiday_last_mon_of_may_add_holiday_jun_1_add_holiday_jul_9_add_holiday_1st_mon_of_sep_add_holiday_oct_1_add_united_nations_day_add_holiday_4th_thu_of_nov_add_holiday_4th_fri_of_nov_add_christmas_day)r   r    s     r   _populate_public_holidaysPalau._populate_public_holidays6   sh     422489488t/Z 	433K@A 	4223HIJ::%--n=::t667HIJ 	4223EFG 	((5::t667IJK 	4778LMN 	(();<::,,\: 	422?CDr    )__name__
__module____qualname____firstlineno____doc__countryr   r   r   supported_categoriesobserved_label
start_yearr   r3   __static_attributes____classcell__)r   s   @r   r   r      s9    $ G((F;$N
 J*+E +Er   r   c                       \ rS rSrSrg)r   d   r5   Nr6   r7   r8   r9   r?   r5   r   r   r   r   d       r   r   c                       \ rS rSrSrg)PLWh   r5   NrC   r5   r   r   rF   rF   h   rD   r   rF   c                   B    \ rS rSrSrS\SS40rS\SS40rS\S	S
40r	Sr
g)r   l   a  Palau special holidays.

References:
    * <https://web.archive.org/web/20250608202645/https://www.facebook.com/photo?fbid=1774513196034105&set=a.175933635892077>
    * <https://web.archive.org/web/20250608202650/https://www.facebook.com/photo/?fbid=1794692910682800&set=a.175933635892077>
    * <https://web.archive.org/web/20250608202639/https://www.facebook.com/photo/?fbid=1408133829338712&set=a.175933635892077>
i     zVeterans Dayi     zBPreparation for the 25th Independence Day of the Republic of Palau   zNational Day of Democracyr5   N)r6   r7   r8   r9   r:   r   special_armed_forces_holidaysr   special_half_day_holidaysspecial_public_holidaysr?   r5   r   r   r   r   l   sK     	sB'%!
 	sB\]!
 	sA23r   r   N)holidays.calendars.gregorianr   r   holidays.constantsr   r   r   holidays.groupsr   r	   r
   holidays.observed_holiday_baser   r   r   r   r   rF   r   r5   r   r   <module>rT      sX    2 = = T T ` `NE!24I> NEb	 		% 	 r   