holidays.countries.sweden

Classes

SE([include_sundays])

param include_sundays:

SWE([include_sundays])

param include_sundays:

Sweden([include_sundays])

Swedish holidays.

class holidays.countries.sweden.Sweden(include_sundays=True, *args, **kwargs)

Bases: HolidayBase, ChristianHolidays, InternationalHolidays

Swedish holidays. Note that holidays falling on a sunday are “lost”, it will not be moved to another day to make up for the collision. In Sweden, ALL sundays are considered a holiday (https://sv.wikipedia.org/wiki/Helgdagar_i_Sverige). Initialize this class with include_sundays=False to not include sundays as a holiday.

Primary sources:
Parameters:

include_sundays – Whether to consider sundays as a holiday (which they are in Sweden)

country: str = 'SE'

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

default_language: str | None = 'sv'

The entity language used by default.

supported_languages: Tuple[str, ...] = ('en_US', 'sv', 'uk')

All languages supported by this entity.

class holidays.countries.sweden.SE(include_sundays=True, *args, **kwargs)

Bases: Sweden

Parameters:

include_sundays – Whether to consider sundays as a holiday (which they are in Sweden)

class holidays.countries.sweden.SWE(include_sundays=True, *args, **kwargs)

Bases: Sweden

Parameters:

include_sundays – Whether to consider sundays as a holiday (which they are in Sweden)