holidays.countries.bolivia

Classes

BO(*args, **kwargs)

param years:

BOL(*args, **kwargs)

param years:

Bolivia(*args, **kwargs)

References: - [Supreme Decree #14260] https://bolivia.infoleyes.com/norma/1141/decreto-supremo-14260 - [Supreme Decree #21060] https://bolivia.infoleyes.com/norma/1211/decreto-supremo-21060 - [Supreme Decree #22352] https://bolivia.infoleyes.com/norma/1310/decreto-supremo-22352 - [Supreme Decree #0173] https://bolivia.infoleyes.com/norma/829/decreto-supremo-0173 - [Supreme Decree #0405] https://bolivia.infoleyes.com/norma/1252/decreto-supremo-0405 - [Supreme Decree #1210] https://bolivia.infoleyes.com/norma/3756/decreto-supremo-1210 - [Supreme Decree #2750] https://bolivia.infoleyes.com/norma/6023/decreto-supremo-2750 - https://en.wikipedia.org/wiki/Public_holidays_in_Bolivia - https://www.officeholidays.com/countries/bolivia

class holidays.countries.bolivia.Bolivia(*args, **kwargs)

Bases: ObservedHolidayBase, ChristianHolidays, InternationalHolidays

References: - [Supreme Decree #14260] https://bolivia.infoleyes.com/norma/1141/decreto-supremo-14260 - [Supreme Decree #21060] https://bolivia.infoleyes.com/norma/1211/decreto-supremo-21060 - [Supreme Decree #22352] https://bolivia.infoleyes.com/norma/1310/decreto-supremo-22352 - [Supreme Decree #0173] https://bolivia.infoleyes.com/norma/829/decreto-supremo-0173 - [Supreme Decree #0405] https://bolivia.infoleyes.com/norma/1252/decreto-supremo-0405 - [Supreme Decree #1210] https://bolivia.infoleyes.com/norma/3756/decreto-supremo-1210 - [Supreme Decree #2750] https://bolivia.infoleyes.com/norma/6023/decreto-supremo-2750 - https://en.wikipedia.org/wiki/Public_holidays_in_Bolivia - https://www.officeholidays.com/countries/bolivia

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 = 'BO'

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', 'uk')

All languages supported by this entity.

observed_label = '%s (observado)'
subdivisions: Tuple[str, ...] = ('B', 'C', 'H', 'L', 'N', 'O', 'P', 'S', 'T')

The subdivisions supported for this country (see documentation).

class holidays.countries.bolivia.BO(*args, **kwargs)

Bases: Bolivia

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.bolivia.BOL(*args, **kwargs)

Bases: Bolivia

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.