holidays.countries.guatemala
Classes
|
|
|
|
|
References: - http://www.bvnsa.com.gt/bvnsa/calendario_dias_festivos.php - https://www.minfin.gob.gt/images/downloads/leyes_acuerdos/decretocong19_101018.pdf |
- class holidays.countries.guatemala.Guatemala(*args, **kwargs)
Bases:
ObservedHolidayBase
,ChristianHolidays
,InternationalHolidays
References: - http://www.bvnsa.com.gt/bvnsa/calendario_dias_festivos.php - https://www.minfin.gob.gt/images/downloads/leyes_acuerdos/decretocong19_101018.pdf
- Moving holidays:
law 19-2018 start 18 oct 2018 https://www.minfin.gob.gt/images/downloads/leyes_acuerdos/decretocong19_101018.pdf
EXPEDIENTE 5536-2018 (CC) start 17 abr 2020 https://leyes.infile.com/index.php?id=181&id_publicacion=81051
- 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 = 'GT'
The country’s ISO 3166-1 alpha-2 code.
- default_language: str | None = 'es'
The entity language used by default.
- supported_languages: Tuple[str, ...] = ('en_US', 'es')
All languages supported by this entity.
- class holidays.countries.guatemala.GT(*args, **kwargs)
Bases:
Guatemala
- 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.guatemala.GUA(*args, **kwargs)
Bases:
Guatemala
- 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.