
    \h                     J    S SK Jr  S SKJr  S SKJr  S SKJr   " S S\5      rg)    )date)Optional)_BuddhistLunisolar)EasternCalendarHolidaysc                   z    \ rS rSrSrSSS jjrS\S\\\	   \
4   S\\	   4S jrS\\	   4S	 jrS\\	   4S
 jrSrg)BuddhistCalendarHolidays   z'
Buddhist lunisolar calendar holidays.
Nreturnc                 J    U(       a  U" 5       O	[        5       U l        X l        g )N)r   _buddhist_calendar!_buddhist_calendar_show_estimated)selfclsshow_estimateds      kC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\holidays/groups/buddhist.py__init__!BuddhistCalendarHolidays.__init__   s    +.#%4F4H1?.    namedt_estimatedc                 :    U R                  XU R                  5      $ )zv
Add Buddhist calendar holiday.

Adds customizable estimation label to holiday name if holiday date
is an estimation.
)_add_eastern_calendar_holidayr   )r   r   r   s      r   _add_buddhist_calendar_holiday7BuddhistCalendarHolidays._add_buddhist_calendar_holiday   s"     11 F F
 	
r   c                 j    U R                  XR                  R                  U R                  5      5      $ )z
Add Vesak (15th day of the 4th lunar month).

Vesak for Thailand, Laos, Singapore and Indonesia.
https://en.wikipedia.org/wiki/Vesak
)r   r   
vesak_date_yearr   r   s     r   
_add_vesak#BuddhistCalendarHolidays._add_vesak*   s/     22))44TZZ@
 	
r   c                 j    U R                  XR                  R                  U R                  5      5      $ )z
Add Vesak (on the day of the first full moon in May
in the Gregorian calendar).

Vesak for Sri Lanka, Nepal, India, Bangladesh and Malaysia.
https://en.wikipedia.org/wiki/Vesak
)r   r   vesak_may_dater   r   s     r   _add_vesak_may'BuddhistCalendarHolidays._add_vesak_may5   s/     22))88D
 	
r   )r   r   )NF)r
   N)__name__
__module____qualname____firstlineno____doc__r   strtupler   r   boolr   r   r#   __static_attributes__ r   r   r   r      s\    @

',Xd^T-A'B
	$
	
(4. 	


htn 

r   r   N)	datetimer   typingr   holidays.calendarsr   holidays.groups.easternr   r   r.   r   r   <module>r3      s       1 ;+
6 +
r   