holidays.countries.united_arab_emirates

Classes

AE(*args, **kwargs)

param years:

ARE(*args, **kwargs)

param years:

UnitedArabEmirates(*args, **kwargs)

Holidays are regulated by the Article 74 of Federal Law No.

UnitedArabEmiratesIslamicHolidays()

class holidays.countries.united_arab_emirates.UnitedArabEmirates(*args, **kwargs)

Bases: HolidayBase, InternationalHolidays, IslamicHolidays

Holidays are regulated by the Article 74 of Federal Law No. 08 for the year 1980: https://www.ilo.org/dyn/natlex/docs/ELECTRONIC/11956/69376/F417089305/ARE11956.pdf However the law is not applied literally, and was amended often in the past few years. Sources: 2017: https://www.khaleejtimes.com/nation/uae-official-public-holidays-list-2017 2018: https://www.thenational.ae/uae/government/uae-public-holidays-2018-announced-by-abu-dhabi-government-1.691393 # noqa: E501 2019: https://www.thenational.ae/uae/government/uae-public-holidays-for-2019-and-2020-announced-by-cabinet-1.833425 # noqa: E501 2020: https://u.ae/en/information-and-services/public-holidays-and-religious-affairs/public-holidays # noqa: E501

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

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

default_language: str | None = 'ar'

The entity language used by default.

estimated_label = '(تقدير) %s'
supported_languages: Tuple[str, ...] = ('ar', 'en_US')

All languages supported by this entity.

weekend: Set[int] = {4, 5}

Country weekend days.

class holidays.countries.united_arab_emirates.AE(*args, **kwargs)

Bases: UnitedArabEmirates

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.united_arab_emirates.ARE(*args, **kwargs)

Bases: UnitedArabEmirates

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.united_arab_emirates.UnitedArabEmiratesIslamicHolidays

Bases: _CustomIslamicHolidays

EID_AL_ADHA_DATES_CUSTOM_CALENDAR = {2017: (9, 1), 2018: (8, 21), 2019: (8, 11), 2020: (7, 31), 2021: (7, 20), 2022: (7, 9), 2023: (6, 28)}
EID_AL_FITR_DATES_CUSTOM_CALENDAR = {2017: (6, 25), 2018: (6, 14), 2019: (6, 4), 2020: (5, 24), 2021: (5, 13), 2022: (5, 2), 2023: (4, 21), 2024: (4, 10)}
HIJRI_NEW_YEAR_DATES_CUSTOM_CALENDAR = {2017: (9, 22), 2018: (9, 11), 2019: (8, 31), 2020: (8, 23), 2021: (8, 12), 2022: (7, 30), 2023: (7, 21)}
ISRA_AND_MIRAJ_DATES_CUSTOM_CALENDAR = {2017: (4, 23), 2018: (4, 13)}
MAWLID_DATES_CUSTOM_CALENDAR = {2017: (11, 30), 2018: (11, 19), 2019: (11, 9), 2020: (10, 29), 2021: (10, 21), 2022: (10, 8), 2023: (9, 29)}