holidays.countries.argentina

Classes

AR(*args, **kwargs)

param years:

ARG(*args, **kwargs)

param years:

Argentina(*args, **kwargs)

A subclass of HolidayBase representing public holidays in Argentina.

ArgentinaStaticHolidays()

Special Bridge Holidays are given upto 3 days a year as long as it's declared 50 days before calendar year's end There's no Bridge Holidays declared in 2017.

class holidays.countries.argentina.Argentina(*args, **kwargs)

Bases: ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays

A subclass of HolidayBase representing public holidays in Argentina.

References:

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

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)'
class holidays.countries.argentina.AR(*args, **kwargs)

Bases: Argentina

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.argentina.ARG(*args, **kwargs)

Bases: Argentina

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.argentina.ArgentinaStaticHolidays

Bases: object

Special Bridge Holidays are given upto 3 days a year as long as it’s declared 50 days before calendar year’s end There’s no Bridge Holidays declared in 2017.

arg_bridge_public_holiday = 'Feriado con fines turísticos'
bicentennial_national_flag = 'Bicentenario de la creación y primera jura de la bandera nacional'
bicentennial_battle_tucuman = 'Bicentenario de la Batalla de Tucumán'
bicentennial_assembly_1813 = 'Bicentenario de la sesión inaugural de la Asamblea Nacional Constituyente del año 1813'
bicentennial_battle_salta = 'Bicentenario de la Batalla de Salta'
national_census_2022 = 'Censo nacional 2022'
special_public_holidays = {2011: ((3, 25, 'Feriado con fines turísticos'), (12, 9, 'Feriado con fines turísticos')), 2012: ((2, 27, 'Bicentenario de la creación y primera jura de la bandera nacional'), (4, 30, 'Feriado con fines turísticos'), (9, 24, 'Bicentenario de la Batalla de Tucumán'), (12, 24, 'Feriado con fines turísticos')), 2013: ((1, 31, 'Bicentenario de la sesión inaugural de la Asamblea Nacional Constituyente del año 1813'), (2, 20, 'Bicentenario de la Batalla de Salta'), (4, 1, 'Feriado con fines turísticos'), (6, 21, 'Feriado con fines turísticos')), 2014: ((5, 2, 'Feriado con fines turísticos'), (12, 26, 'Feriado con fines turísticos')), 2015: ((3, 23, 'Feriado con fines turísticos'), (12, 7, 'Feriado con fines turísticos')), 2016: ((7, 8, 'Feriado con fines turísticos'), (12, 9, 'Feriado con fines turísticos')), 2018: ((4, 30, 'Feriado con fines turísticos'), (12, 24, 'Feriado con fines turísticos'), (12, 31, 'Feriado con fines turísticos')), 2019: ((7, 8, 'Feriado con fines turísticos'), (8, 19, 'Feriado con fines turísticos'), (10, 14, 'Feriado con fines turísticos')), 2020: ((3, 23, 'Feriado con fines turísticos'), (7, 10, 'Feriado con fines turísticos'), (12, 7, 'Feriado con fines turísticos')), 2021: ((5, 24, 'Feriado con fines turísticos'), (10, 8, 'Feriado con fines turísticos'), (11, 22, 'Feriado con fines turísticos')), 2022: ((5, 18, 'Censo nacional 2022'), (10, 7, 'Feriado con fines turísticos'), (11, 21, 'Feriado con fines turísticos'), (12, 9, 'Feriado con fines turísticos')), 2023: ((5, 26, 'Feriado con fines turísticos'), (6, 19, 'Feriado con fines turísticos'), (10, 13, 'Feriado con fines turísticos')), 2024: ((4, 1, 'Feriado con fines turísticos'), (6, 21, 'Feriado con fines turísticos'), (10, 11, 'Feriado con fines turísticos'))}