
    ih                         d dl m Z d dlmZmZmZmZmZ d dlm	Z	m
Z
mZ d dlmZ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)FEBMARJUNJULDEC)ChristianHolidaysInternationalHolidaysStaticHolidays)ObservedHolidayBaseSUN_TO_NEXT_MONc                   H     e Zd ZdZdZdZ ed      ZdZdZ	 fdZ
d Z xZS )	Grenadaau  Grenada holidays.

    References:
        * <https://en.wikipedia.org/wiki/Public_holidays_in_Grenada>
        * [Bank Holidays Act](https://web.archive.org/web/20250504095840/https://laws.gov.gd/index.php/chapters/b-23-39/1042-cap25-bank-holidays-act-2/viewdocument/1042)
        * <https://web.archive.org/web/20250213100825/https://www.timeanddate.com/holidays/grenada/>
        * [National Heroes' Day](https://web.archive.org/web/20250504095924/https://www.gov.gd/component/edocman/grenadas-first-national-heroes-day-and-october-19th-commemoration-events/viewdocument/576)
        * [Emancipation Day](https://web.archive.org/web/20250504100015/https://nowgrenada.com/2025/01/gnrc-chairman-supports-1-august-as-national-holiday/)

    Checked With:
        * [2010](https://web.archive.org/web/20100108053101/http://www.gov.gd/holiday_events.html)
        * [2011](https://web.archive.org/web/20111007094915/http://www.gov.gd/holiday_events.html)
        * [2012](https://web.archive.org/web/20120623100105/http://www.gov.gd/holiday_events.html)
        * [2013](https://web.archive.org/web/20130805181426/http://www.gov.gd/holiday_events.html)
        * [2014](https://web.archive.org/web/20140424191452/http://www.gov.gd/holiday_events.html)
        * [2015](https://web.archive.org/web/20150701045051/http://www.gov.gd/holiday_events.html)
        * [2016](https://web.archive.org/web/20160518030722/http://www.gov.gd/holiday_events.html)
        * [2017](https://web.archive.org/web/20170505034606/http://www.gov.gd/holiday_events.html)
        * [2018](https://web.archive.org/web/20180424025139/http://www.gov.gd/holiday_events.html)
        * [2023](https://web.archive.org/web/20230329094946/https://www.gov.gd/pdf/Public%20Holidays%202023.pdf)
        * [2025](https://web.archive.org/web/20250130143152/https://www.gov.gd/component/edocman/grenadas-public-holidays-2025/viewdocument/1386)
    GDen_GDz%s (observed)i  )r   en_USc                     t        j                  |        t        j                  |        t        j                  | t               |j                  dt               t        |   |i | y )Nobserved_rule)r	   __init__r
   r   GrenadaStaticHolidays
setdefaultr   super)selfargskwargs	__class__s      Z/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/holidays/countries/grenada.pyr   zGrenada.__init__4   sR    ""4(&&t,&;</?;$)&)    c                 0   | j                  | j                  t        d                   | j                  | j                  t        d                   | j	                  t        d             | j                  t        d             | j                  | j                  t        d                   | j                  t        d             | j                  t        d             t        d      }| j                  d	k\  r!| j                  | j                  |             n| j                  |       | j                  t        d
             | j                  t        d             | j                  dk\  r)| j                  | j                  t        d                   | j                  | j                  t        d                   | j                  | j!                  t        d                   | j                  | j#                  t        d                   y )NzNew Year's DayzIndependence DayzGood FridayzEaster Mondayz
Labour DayzWhit MondayzCorpus ChristizEmancipation Dayi  zCarnival MondayzCarnival Tuesday  zNational Heroes' DayzThanksgiving DayzChristmas Dayz
Boxing Day)_add_observed_add_new_years_daytr_add_holiday_feb_7_add_good_friday_add_easter_monday_add_labor_day_add_whit_monday_add_corpus_christi_day_year_add_holiday_aug_1_add_holiday_1st_mon_of_aug_add_holiday_2nd_mon_of_aug&_add_holiday_1_day_past_2nd_mon_of_aug_add_holiday_oct_19_add_holiday_oct_25_add_christmas_day_add_christmas_day_two)r   names     r   _populate_public_holidaysz!Grenada._populate_public_holidays;   s   42226F3GHI 	42226H3IJK 	b/0 	? 34 	4..r,/?@A 	b/0 	$$R(8%9: $%::t66t<=,,T2 	((,=)>? 	33B7I4JK::t77;Q8RST 	433B7I4JKL 	4222o3FGH 	466r,7GHIr   )__name__
__module____qualname____doc__countrydefault_languager#   observed_label
start_yearsupported_languagesr   r4   __classcell__)r   s   @r   r   r      s5    . G(NJ,*.Jr   r   c                       e Zd Zy)r   Nr5   r6   r7    r   r   r   r   l       r   r   c                       e Zd Zy)GRDNr@   rA   r   r   rD   rD   p   rB   r   rD   c            
       l    e Zd ZdZ ed      Zedefedefedefedefe	defedeffe
d ed      fd	Zy
)r   a  Grenada special holidays.

    References:
        * [2011](https://web.archive.org/web/20250504100149/https://laws.gov.gd/index.php/s-r-o/37-sr-o-35-of-2011-bank-holiday/viewdocument/37)
        * [2013](https://web.archive.org/web/20250504100219/https://laws.gov.gd/index.php/s-r-o/93-sro-6-of-2013-bank-holiday/viewdocument/93)
        * [2016](https://web.archive.org/web/20250504100408/https://laws.gov.gd/index.php/s-r-o/289-sr-o-61-of-2016-bank-holiday/viewdocument/289)
        * [2018](https://web.archive.org/web/20250504100436/https://laws.gov.gd/index.php/s-r-o/348-sr-o-10-of-2018-bank-holiday-proclamation/viewdocument/348)
        * [24 June 2022](https://web.archive.org/web/20250504100516/https://laws.gov.gd/index.php/s-r-o/576-sr-o-33-of-2022-bank-holiday-proclamation-2022/viewdocument/576)
        * [27 December 2022](https://web.archive.org/web/20250504100538/https://laws.gov.gd/index.php/s-r-o/586-sr-o-43-of-2022-bank-holiday-proclamation-2022/viewdocument/586)
        * [CARICOM's 50th Anniversary 2023](https://web.archive.org/web/20250504100603/https://laws.gov.gd/index.php/s-r-o/612-sr-o-22-of-2023-bank-holiday-proclamation-2023/viewdocument/612)
    zBank Holiday               zCARICOM's 50th Anniversary)i  i  i  i  i  r    N)r5   r6   r7   r8   r#   bank_holidayr   r   r   r   r   special_public_holidaysrA   r   r   r   r   t   sp    
 n%L B%B%B%B%"l#"l#

 Ar678r   r   N)r   r#   holidays.calendars.gregorianr   r   r   r   r   holidays.groupsr	   r
   r   holidays.observed_holiday_baser   r   r   r   rD   r   rA   r   r   <module>rP      sU    " @ @ T T OUJ!#46K^ UJp	 		' 	 r   