holidays.countries.nigeria

Nigeria(*args, islamic_show_estimated=True, **kwargs)

Bases: ObservedHolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays, StaticHolidays

Nigeria holidays.

References
In-lieu holidays have been in effect since at least 2010
Parameters:
  • islamic_show_estimated (bool, default: True ) –

    Whether to add "estimated" label to Islamic holidays name if holiday date is estimated.

In Nigeria, the dates of the Islamic calendar usually fall a day later than the corresponding dates in the Umm al-Qura calendar.

country = 'NG' class-attribute instance-attribute

default_language = 'en_NG' class-attribute instance-attribute

estimated_label = tr('%s (estimated)') class-attribute instance-attribute

observed_estimated_label = tr('%s (observed, estimated)') class-attribute instance-attribute

observed_label = tr('%s (observed)') class-attribute instance-attribute

start_year = 1979 class-attribute instance-attribute

supported_languages = ('en_NG', 'en_US') class-attribute instance-attribute

NG(*args, islamic_show_estimated=True, **kwargs)

Bases: Nigeria

Parameters:
  • islamic_show_estimated (bool, default: True ) –

    Whether to add "estimated" label to Islamic holidays name if holiday date is estimated.

In Nigeria, the dates of the Islamic calendar usually fall a day later than the corresponding dates in the Umm al-Qura calendar.

NGA(*args, islamic_show_estimated=True, **kwargs)

Bases: Nigeria

Parameters:
  • islamic_show_estimated (bool, default: True ) –

    Whether to add "estimated" label to Islamic holidays name if holiday date is estimated.

In Nigeria, the dates of the Islamic calendar usually fall a day later than the corresponding dates in the Umm al-Qura calendar.

NigeriaIslamicHolidays(calendar_delta_days=0)

Bases: _CustomIslamicHolidays

Parameters:
  • calendar_delta_days (int, default: 0 ) –

    Number of days to shift all calculated holiday dates. Positive values move holidays forward, negative values move them backward. Defaults to 0 (no shift).

EID_AL_ADHA_DATES_CONFIRMED_YEARS = (1979, 2025) class-attribute instance-attribute

EID_AL_ADHA_DATES = {1982: (SEP, 29), 1987: (AUG, 6), 1988: (JUL, 25), 1990: (JUL, 4), 1992: (JUN, 11), 1996: (APR, 29), 2000: (MAR, 16), 2005: (JAN, 21), 2006: ((JAN, 10), (DEC, 31)), 2007: (DEC, 19), 2012: (OCT, 26), 2013: (OCT, 15), 2014: (OCT, 6), 2020: (JUL, 31), 2021: (JUL, 20), 2022: (JUL, 9), 2023: (JUN, 28), 2024: (JUN, 16), 2025: (JUN, 6)} class-attribute instance-attribute

EID_AL_FITR_DATES_CONFIRMED_YEARS = (1979, 2025) class-attribute instance-attribute

EID_AL_FITR_DATES = {1979: (AUG, 25), 1982: (JUL, 23), 1984: (JUN, 30), 1987: (MAY, 30), 1988: (MAY, 18), 1992: (APR, 4), 1996: (FEB, 21), 2000: ((JAN, 8), (DEC, 28)), 2004: (NOV, 14), 2007: (OCT, 12), 2008: (SEP, 29), 2010: (SEP, 9), 2011: (AUG, 30), 2013: (AUG, 8), 2014: (JUL, 28), 2015: (JUL, 17), 2016: (JUL, 6), 2018: (JUN, 15), 2019: (JUN, 4), 2020: (MAY, 24), 2021: (MAY, 13), 2022: (MAY, 2), 2023: (APR, 21), 2024: (APR, 10), 2025: (MAR, 30)} class-attribute instance-attribute

MAWLID_DATES_CONFIRMED_YEARS = (1979, 2025) class-attribute instance-attribute

MAWLID_DATES = {1980: (JAN, 30), 1981: (JAN, 18), 1984: (DEC, 6), 1989: (OCT, 13), 1994: (AUG, 19), 1997: (JUL, 18), 1999: (JUN, 26), 2001: (JUN, 4), 2002: (MAY, 24), 2005: (APR, 21), 2007: (MAR, 31), 2008: (MAR, 20), 2009: (MAR, 9), 2010: (FEB, 26), 2012: (FEB, 6), 2013: (JAN, 24), 2014: (JAN, 13), 2015: ((JAN, 2), (DEC, 24)), 2018: (NOV, 20), 2019: (NOV, 9), 2020: (OCT, 29), 2022: (OCT, 8), 2023: (SEP, 27)} class-attribute instance-attribute

NigeriaStaticHolidays

Nigeria special holidays.

References

name_elections = tr('Public Holiday for Elections') class-attribute instance-attribute

special_public_holidays = {2007: ((APR, 12, name_elections), (APR, 13, name_elections)), 2010: (MAY, 6, tr("Day of Mourning for President Umaru Yar'Adua")), 2019: (FEB, 22, name_elections), 2025: (JUL, 15, tr('Day of Mourning for President Muhammadu Buhari'))} class-attribute instance-attribute