
    ih                     n    d dl mZmZ d dlmZmZmZ  G d deee      Z G d de      Z G d de      Z	y	)
    )ChristianHolidaysInternationalHolidays)ObservedHolidayBaseSAT_SUN_TO_NEXT_MONSAT_SUN_TO_NEXT_MON_TUEc                   4     e Zd ZdZdZdZdZ fdZd Z xZ	S )Kiribatia  Kiribati holidays.

    References:
        * [Public Holidays Ordinance](https://web.archive.org/web/20250130150749/https://www.paclii.org/ki/legis/consol_act/pho216/)
        * [Public Holidays (Amendment) Act 2002](https://web.archive.org/web/20250130161614/https://www.paclii.org/ki/legis/num_act/pha2002243/)
        * [Public Holidays Act Consolidated](https://web.archive.org/web/20250404213705/https://www.paclii.org/ki/legis/consol_act/pho216.pdf)

    Note:
        The 2025 holidays list for Kiribati
        (http://web.archive.org/web/20250808191339/https://www.pso.gov.ki/kiribati-national-public-holidays-2025/)
        mentions the following holidays even though they do not appear in the law:
        Labor Day, National Culture and Senior Citizens Day, National Police Day, and World
        Teachers' Day.

        Additionally, the list shows that traditional holidays (International Women's Day,
        Labor Day, Gospel Day, and Human Rights and Peace Day) were celebrated on different
        dates than usual, seemingly shifting Thursday/Saturday holidays to the adjacent Friday.
        No legal provision or start year was cited for this adjustment.
    KIz%s (observed)i  c                     t        j                  |        t        j                  |        |j                  dt               t        |   |i | y )Nobserved_rule)r   __init__r   
setdefaultr   super)selfargskwargs	__class__s      [/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/holidays/countries/kiribati.pyr   zKiribati.__init__.   sB    ""4(&&t,/+>?$)&)    c                 ,   | j                  | j                  d             | j                  dk\  r | j                  | j                  d             | j	                  d       | j                  dk  r| j                  d       | j                  d       | j                  dk\  r | j                  | j                  d             d	| j                  cxk  rdk  r#n n | j                  | j                  d
             | j                  dk\  r| j                  d       | j                  d	k\  r | j                  | j                  d             | j                  dk\  r1| j                  d       | j                  | j                  d             | j                  dk  r| j                  d
       n | j                  | j                  d             | j                  dk  r | j                  | j                  d
             | j                  d	k\  rBd}| j                  | j                  dk\  r| j!                  |      n| j#                  |             | j                  | j%                  d      t&               | j                  | j)                  d      t&               y )NzNew Year's Dayi  zInternational Women's DayzGood Fridayi  zHoly SaturdayzEaster MondayzNational Health Dayi  zPublic Holidayz
Gospel Dayz'National Day - Independence Anniversaryz#National Day (in honor of Unimwane)z!National Day (in honor of Unaine)z	Youth Dayi  zHuman Rights and Peace DayzChristmas Day)rulez
Boxing Day)_add_observed_add_new_years_day_year_add_womens_day_add_good_friday_add_holy_saturday_add_easter_monday_add_holiday_apr_19_add_holiday_may_9_add_holiday_jul_11_add_holiday_jul_12_add_holiday_jul_15_add_holiday_jul_16_add_holiday_1st_mon_of_aug_add_holiday_aug_5_add_holiday_nov_10_add_holiday_dec_9_add_holiday_dec_10_add_christmas_dayr   _add_christmas_day_two)r   names     r   _populate_public_holidaysz"Kiribati._populate_public_holidays4   s)   4223CDE::t334OPQ 	m,::##O4 	0::t778MNO4::%%t667GHI::$$\2::t778abc::$$%JKt778[\]::,,-=> t66{CD::t778HIJ::/D::% ''---d3 	422?CJab 	466|DKbcr   )
__name__
__module____qualname____doc__countryobserved_label
start_yearr   r-   __classcell__)r   s   @r   r	   r	      s%    ( G$NJ*@dr   r	   c                       e Zd Zy)r
   Nr.   r/   r0    r   r   r
   r
   w       r   r
   c                       e Zd Zy)KIRNr7   r8   r   r   r;   r;   {   r9   r   r;   N)
holidays.groupsr   r   holidays.observed_holiday_baser   r   r   r	   r
   r;   r8   r   r   <module>r>      sE    E _d"$57L _dD	 		( 	r   