holidays.countries.sweden
Classes
|
|
|
|
|
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.