holidays.countries.norway

Norway(*args, include_sundays=False, **kwargs)

Bases: HolidayBase, ChristianHolidays, InternationalHolidays

Norway holidays.

References

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://web.archive.org/web/20250202193959/https://snl.no/helligdag). Initialize this class with include_sundays=False to not include sundays as a holiday.

Parameters:
  • include_sundays (bool, default: False ) –

    Whether to consider sundays as a holiday (which they are in Norway)

country = 'NO' class-attribute instance-attribute

default_language = 'no' class-attribute instance-attribute

subdivisions = ('03', '11', '15', '18', '21', '22', '31', '32', '33', '34', '39', '40', '42', '46', '50', '55', '56') class-attribute instance-attribute

subdivisions_aliases = {'Oslo': '03', 'Rogaland': '11', 'Møre og Romsdal': '15', 'Nordland': '18', 'Svalbard': '21', 'Jan Mayen': '22', 'Østfold': '31', 'Akershus': '32', 'Buskerud': '33', 'Innlandet': '34', 'Vestfold': '39', 'Telemark': '40', 'Agder': '42', 'Vestland': '46', 'Trööndelage': '50', 'Trøndelag': '50', 'Romssa': '55', 'Troms': '55', 'Tromssan': '55', 'Finmarkun': '56', 'Finnmark': '56', 'Finnmárkku': '56'} class-attribute instance-attribute

supported_languages = ('en_US', 'no', 'th', 'uk') class-attribute instance-attribute

include_sundays = include_sundays instance-attribute

NO(*args, include_sundays=False, **kwargs)

Bases: Norway

Parameters:
  • include_sundays (bool, default: False ) –

    Whether to consider sundays as a holiday (which they are in Norway)

NOR(*args, include_sundays=False, **kwargs)

Bases: Norway

Parameters:
  • include_sundays (bool, default: False ) –

    Whether to consider sundays as a holiday (which they are in Norway)