holidays.countries.seychelles

Classes

SC(*args, **kwargs)

param years:

SYC(*args, **kwargs)

param years:

Seychelles(*args, **kwargs)

https://www.psb.gov.sc/public-holidays https://www.cbs.sc/PublicHolidays.html

SeychellesStaticHolidays()

Sources:

class holidays.countries.seychelles.Seychelles(*args, **kwargs)

Bases: ObservedHolidayBase, ChristianHolidays, InternationalHolidays

https://www.psb.gov.sc/public-holidays https://www.cbs.sc/PublicHolidays.html

[Act 19 of 1976, 1994 Amendment]

Oldest Seychelles Holidays Law available online in full. https://seylii.org/akn/sc/act/1976/19/eng@2012-06-30

[Act 11 of 2014]

Holidays names changed. https://seylii.org/akn/sc/act/2014/11/eng@2014-08-04

[Act 3 of 2017]

Added Easter Monday, repealing Liberation Day. https://seylii.org/akn/sc/act/2017/3/eng@2017-04-12

Where any public holiday, except Sunday, falls on a Sunday the next following day, not being itself a public holiday, shall be a public holiday.

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

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

default_language: str | None = 'en_SC'

The entity language used by default.

observed_label = '%s (observed)'
supported_languages: Tuple[str, ...] = ('en_SC', 'en_US')

All languages supported by this entity.

class holidays.countries.seychelles.SC(*args, **kwargs)

Bases: Seychelles

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.seychelles.SYC(*args, **kwargs)

Bases: Seychelles

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.seychelles.SeychellesStaticHolidays

Bases: object

Sources:

All Election Dates usually proceed from the Outer Islands first, then the Inner Islands, and the main capital, Mahé, on the last day. The current implementation only uses the last day, as officially decreed in 2007, 2011, 2015, and 2020.

bridge_public_holiday = 'Bridge Public Holiday'
presidential_election_day = 'Presidential Election Day'
parliamentary_election_day = 'Parliamentary Election Day'
general_election_day = 'General Election Day'
special_public_holidays = {2007: (5, 12, 'Presidential Election Day'), 2011: ((5, 21, 'Presidential Election Day'), (10, 1, 'Parliamentary Election Day')), 2015: ((12, 5, 'Presidential Election Day'), (12, 18, 'Presidential Election Day')), 2016: (9, 10, 'Parliamentary Election Day'), 2019: (3, 7, 'Funeral of the Former President France Albert René'), 2020: ((1, 3, 'Bridge Public Holiday'), (10, 24, 'General Election Day'), (10, 26, 'Bridge Public Holiday'))}