holidays.countries.norway
Classes
|
|
|
|
|
Norwegian holidays. |
- class holidays.countries.norway.Norway(include_sundays=False, *args, **kwargs)
Bases:
HolidayBase
,ChristianHolidays
,InternationalHolidays
Norwegian holidays. Note that holidays falling on a sunday is “lost”, it will not be moved to another day to make up for the collision.
In Norway, ALL sundays are considered a holiday (https://snl.no/helligdag). 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 Norway)
- country: str = 'NO'
The country’s ISO 3166-1 alpha-2 code.
- default_language: str | None = 'no'
The entity language used by default.
- supported_languages: Tuple[str, ...] = ('en_US', 'no', 'uk')
All languages supported by this entity.