holidays.countries.jersey

Classes

JE(*args, **kwargs)

param years:

JEY(*args, **kwargs)

param years:

Jersey(*args, **kwargs)

References:

JerseyStaticHolidays()

References:

class holidays.countries.jersey.Jersey(*args, **kwargs)

Bases: ObservedHolidayBase, ChristianHolidays, InternationalHolidays, StaticHolidays

References:
Checked with:

This has only been cross-checked with the official source from 2010 onwards.

Jersey has the same public holidays as the United Kingdom (England Subdivision) - plus an extra day on 9 May, to mark Liberation Day (ignoring special holidays like the Corn Riots Anniversary in 2021).

If a bank holiday is on a sunday, a substitute weekday becomes a bank holiday, normally the following Monday. From 2004 onwards this also applies to saturday.

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

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

observed_label = '%s (observed)'
class holidays.countries.jersey.JE(*args, **kwargs)

Bases: Jersey

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.jersey.JEY(*args, **kwargs)

Bases: Jersey

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.jersey.JerseyStaticHolidays

Bases: object

References:
new_years_day_in_lieu = "New Year's Day"
boxing_day_in_lieu = 'Boxing Day'
elizabeth_2_royal_visit = "Elizabeth II's Royal Visit"
special_public_holidays = {1957: (7, 26, "Elizabeth II's Royal Visit"), 1977: (6, 7, 'Silver Jubilee of Elizabeth II'), 1978: (6, 27, "Elizabeth II's Royal Visit"), 1981: (7, 29, 'Wedding of Charles and Diana'), 1989: (5, 25, "Elizabeth II's Royal Visit"), 1999: (12, 31, 'Millennium Celebrations'), 2001: (7, 13, "Elizabeth II's Royal Visit"), 2002: (6, 3, 'Golden Jubilee of Elizabeth II'), 2011: (4, 29, 'Wedding of William and Catherine'), 2012: (6, 5, 'Diamond Jubilee of Elizabeth II'), 2020: (5, 8, '75th Anniversary of VE Day'), 2021: (9, 27, '250th Anniversary of the 1769 Corn Riots'), 2022: ((6, 3, 'Platinum Jubilee of Elizabeth II'), (9, 19, 'State Funeral of Queen Elizabeth II')), 2023: (5, 8, 'Coronation of Charles III')}
special_public_holidays_observed = {1976: (12, 28, 'Boxing Day'), 1977: (1, 3, "New Year's Day"), 1981: (12, 28, 'Boxing Day'), 1982: (12, 28, 'Boxing Day'), 1983: (1, 3, "New Year's Day"), 1987: (12, 28, 'Boxing Day'), 1992: (12, 28, 'Boxing Day'), 1993: (12, 28, 'Boxing Day'), 1994: (1, 3, "New Year's Day"), 1998: (12, 28, 'Boxing Day'), 1999: (12, 28, 'Boxing Day'), 2000: (1, 3, "New Year's Day"), 2009: (12, 28, 'Boxing Day')}