holidays.countries.colombia

Classes

CO(*args, **kwargs)

param years:

COL(*args, **kwargs)

param years:

Colombia(*args, **kwargs)

Colombia has 18 holidays.

class holidays.countries.colombia.Colombia(*args, **kwargs)

Bases: ObservedHolidayBase, ChristianHolidays, InternationalHolidays

Colombia has 18 holidays. The establishing of these are by: Ley 35 de 1939 (DEC 4): https://bit.ly/3PJwk7B Decreto 2663 de 1950 (AUG 5): https://bit.ly/3PJcut8 Decreto 3743 de 1950 (DEC 20): https://bit.ly/3B9Otr3 Ley 51 de 1983 (DEC 6): https://bit.ly/3aSobiB

On the 6th of December 1983, the government of Colombia declared which holidays are to take effect, and also clarified that a subset of them are to take place the next Monday if they do not fall on a Monday. This law is “Ley 51 de 1983” which translates to law 51 of 1983. Link: https://bit.ly/3PtPi2e A few links below to calendars from the 1980s to demonstrate this law change. In 1984 some calendars still use the old rules, presumably because they were printed prior to the declaration of law change. 1981: https://bit.ly/3BbgKOc 1982: https://bit.ly/3BdbhWW 1984: https://bit.ly/3PqGxWU 1984: https://bit.ly/3B7ogt8

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).

  • provdeprecated use subdiv instead.

  • statedeprecated 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 = 'CO'

The country’s ISO 3166-1 alpha-2 code.

default_language: str | None = 'es'

The entity language used by default.

observed_label = '%s (observado)'
supported_languages: Tuple[str, ...] = ('en_US', 'es', 'uk')

All languages supported by this entity.

class holidays.countries.colombia.CO(*args, **kwargs)

Bases: Colombia

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).

  • provdeprecated use subdiv instead.

  • statedeprecated 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.colombia.COL(*args, **kwargs)

Bases: Colombia

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).

  • provdeprecated use subdiv instead.

  • statedeprecated 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.