holidays.countries.laos
Classes
|
|
|
|
|
A subclass of |
- class holidays.countries.laos.Laos(*args, **kwargs)
Bases:
ObservedHolidayBase
,InternationalHolidays
,StaticHolidays
,ThaiCalendarHolidays
A subclass of
HolidayBase
representing public holidays in Laos.References:
- Based on: https://en.wikipedia.org/wiki/Public_holidays_in_Laos
Decree on Holidays No. 386 / Rev. 15.12.2017 https://juristact.weebly.com/uploads/1/0/9/9/109947087/d17_386.pdf
- Checked with: https://asean.org/wp-content/uploads/2021/12/ASEAN-National-Holidays-2022.pdf
https://asean.org/wp-content/uploads/2022/12/ASEAN-Public-Holidays-2023.pdf https://www.timeanddate.com/holidays/laos/ https://www.bcel.com.la/bcel/bcel-calendar.html?y=2022 https://www.bcel.com.la/bcel/bcel-calendar.html?year=2023 http://www.lsx.com.la/cal/getStockCalendar.do?lang=lo (from 2011 onwards)
!!! If Public Holiday falls on weekends, (in lieu) on workday !!! Despite the wording, this usually only applies to Monday only for holidays, consecutive holidays all have their own special in lieu declared separately.
As featured in Decree on Holidays No. 386 / Rev. 15.12.2017; - Saturdays and Sundays shall be restdays each week. - In-Lieu holidays shall be given if it fall on the weekends.
Limitations:
Laotian holidays only works from 1976 onwards, and are only 100% accurate from 2018 onwards.
Laotian Lunar Calendar Holidays only work from 1941 (B.E. 2485) onwards until 2057 (B.E. 2601) as we only have Thai year-type data for cross-checking until then.
Country created by: PPsyrius
Country maintained by: PPsyrius
- Parameters:
years – The year(s) to pre-calculate public holidays for at instantiation.
expand – Whether the entire year is calculated when one date from that year is requested.
observed – Whether to include the dates when public holiday are observed (e.g. a holiday falling on a Sunday being observed the following Monday). This doesn’t work for all countries.
subdiv – The subdivision (e.g. state or province) as a ISO 3166-2 code or its alias; not implemented for all countries (see documentation).
prov – deprecated use subdiv instead.
state – deprecated use subdiv instead.
language – The language which the returned holiday names will be translated into. It must be an ISO 639-1 (2-letter) language code. If the language translation is not supported the original holiday names will be used.
categories – Requested holiday categories.
- Returns:
A
HolidayBase
object matching the country.
- country: str = 'LA'
The country’s ISO 3166-1 alpha-2 code.
- supported_categories: Tuple[str, ...] = ('bank', 'public', 'school', 'workday')
All holiday categories supported by this entity.
- default_language: str | None = 'lo'
The entity language used by default.
- observed_label = 'ພັກຊົດເຊີຍ%s'
- supported_languages: Tuple[str, ...] = ('en_US', 'lo', 'th')
All languages supported by this entity.
- class holidays.countries.laos.LA(*args, **kwargs)
Bases:
Laos
- Parameters:
years – The year(s) to pre-calculate public holidays for at instantiation.
expand – Whether the entire year is calculated when one date from that year is requested.
observed – Whether to include the dates when public holiday are observed (e.g. a holiday falling on a Sunday being observed the following Monday). This doesn’t work for all countries.
subdiv – The subdivision (e.g. state or province) as a ISO 3166-2 code or its alias; not implemented for all countries (see documentation).
prov – deprecated use subdiv instead.
state – deprecated use subdiv instead.
language – The language which the returned holiday names will be translated into. It must be an ISO 639-1 (2-letter) language code. If the language translation is not supported the original holiday names will be used.
categories – Requested holiday categories.
- Returns:
A
HolidayBase
object matching the country.
- class holidays.countries.laos.LAO(*args, **kwargs)
Bases:
Laos
- Parameters:
years – The year(s) to pre-calculate public holidays for at instantiation.
expand – Whether the entire year is calculated when one date from that year is requested.
observed – Whether to include the dates when public holiday are observed (e.g. a holiday falling on a Sunday being observed the following Monday). This doesn’t work for all countries.
subdiv – The subdivision (e.g. state or province) as a ISO 3166-2 code or its alias; not implemented for all countries (see documentation).
prov – deprecated use subdiv instead.
state – deprecated use subdiv instead.
language – The language which the returned holiday names will be translated into. It must be an ISO 639-1 (2-letter) language code. If the language translation is not supported the original holiday names will be used.
categories – Requested holiday categories.
- Returns:
A
HolidayBase
object matching the country.
- class holidays.countries.laos.LaosStaticHolidays
Bases:
object
- special_bank_day_off = 'ມື້ປິດການໃຫ້ບໍລິການຂອງທະນາຄານຕົວແທນ'
- new_year_day = 'ວັນປີໃໝ່ສາກົນ'
- international_womens_rights_day = 'ວັນແມ່ຍິງສາກົນ'
- lao_new_year = 'ບຸນປີໃໝ່ລາວ'
- lao_new_year_special = 'ພັກບຸນປີໃໝ່ລາວ'
- international_labor_day = 'ວັນກຳມະກອນສາກົນ'
- lao_womens_union = 'ວັນສ້າງຕັ້ງສະຫະພັນແມ່ຍິງລາວ'
- establishment_day_of_bol = 'ວັນສ້າງຕັ້ງທະນາຄານແຫ່ງ ສປປ ລາວ'
- lao_national_day = 'ວັນຊາດ'
- special_bank_holidays = {2015: (1, 2, 'ມື້ປິດການໃຫ້ບໍລິການຂອງທະນາຄານຕົວແທນ')}
- special_bank_holidays_observed = {2017: (10, 9, 'ວັນສ້າງຕັ້ງທະນາຄານແຫ່ງ ສປປ ລາວ')}
- special_public_holidays = {2015: (4, 17, 'ພັກບຸນປີໃໝ່ລາວ'), 2016: ((4, 13, 'ພັກບຸນປີໃໝ່ລາວ'), (4, 18, 'ພັກບຸນປີໃໝ່ລາວ')), 2020: ((4, 13, 'ພັກບຸນປີໃໝ່ລາວ'), (4, 17, 'ພັກບຸນປີໃໝ່ລາວ'))}
- special_public_holidays_observed = {2011: (4, 13, 'ບຸນປີໃໝ່ລາວ'), 2012: ((1, 2, 'ວັນປີໃໝ່ສາກົນ'), (4, 13, 'ບຸນປີໃໝ່ລາວ'), (4, 17, 'ບຸນປີໃໝ່ລາວ'), (12, 3, 'ວັນຊາດ')), 2013: (4, 17, 'ບຸນປີໃໝ່ລາວ'), 2015: (3, 9, 'ວັນແມ່ຍິງສາກົນ'), 2016: (5, 2, 'ວັນກຳມະກອນສາກົນ'), 2017: ((1, 2, 'ວັນປີໃໝ່ສາກົນ'), (4, 13, 'ບຸນປີໃໝ່ລາວ'), (4, 17, 'ບຸນປີໃໝ່ລາວ'), (12, 4, 'ວັນຊາດ'))}
- special_workday_holidays_observed = {2019: (7, 22, 'ວັນສ້າງຕັ້ງສະຫະພັນແມ່ຍິງລາວ')}