holidays.countries.niger

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

Bases: ObservedHolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays

Niger holidays.

References
Notes

After Law No. 97-020 of June 20, 1997 establishing public holidays came into effect, holidays that fell on the mandatory weekly rest day (Sunday) were observed on the next Monday.

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

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

country = 'NE' class-attribute instance-attribute

default_language = 'fr_NE' class-attribute instance-attribute

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

supported_categories = (OPTIONAL, PUBLIC) class-attribute instance-attribute

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

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

observed_estimated_label = tr('%s (observé, estimé)') class-attribute instance-attribute

start_year = 1960 class-attribute instance-attribute

weekend = {SUN} class-attribute instance-attribute

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

Bases: Niger

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

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

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

Bases: Niger

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

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

NigerIslamicHolidays(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 = (1998, 2025) class-attribute instance-attribute

EID_AL_ADHA_DATES = {1998: (APR, 8), 1999: (MAR, 28), 2001: (MAR, 6), 2002: (FEB, 23), 2003: (FEB, 12), 2004: (FEB, 2), 2008: (DEC, 9), 2009: (NOV, 28), 2010: (NOV, 17), 2011: (NOV, 7), 2014: (OCT, 5), 2015: (SEP, 24), 2016: (SEP, 13), 2017: (SEP, 2), 2018: (AUG, 22), 2022: (JUL, 10), 2025: (JUN, 7)} class-attribute instance-attribute

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

EID_AL_FITR_DATES = {1998: (JAN, 30), 1999: (JAN, 19), 2000: ((JAN, 8), (DEC, 28)), 2001: (DEC, 17), 2002: (DEC, 6), 2003: (NOV, 26), 2005: (NOV, 4), 2006: (OCT, 24), 2008: (OCT, 2), 2009: (SEP, 21), 2011: (AUG, 31), 2014: (JUL, 29), 2015: (JUL, 18), 2016: (JUL, 7), 2017: (JUN, 26), 2020: (MAY, 23), 2021: (MAY, 12), 2022: (MAY, 1), 2024: (APR, 9)} class-attribute instance-attribute

HIJRI_NEW_YEAR_DATES_CONFIRMED_YEARS = (1998, 2025) class-attribute instance-attribute

HIJRI_NEW_YEAR_DATES = {1998: (APR, 28), 2003: (MAR, 5), 2004: (FEB, 22), 2010: (DEC, 8), 2011: (NOV, 27), 2013: (NOV, 5), 2015: (OCT, 15), 2016: (OCT, 3), 2017: (SEP, 22), 2018: (SEP, 12), 2020: (AUG, 21), 2021: (AUG, 10), 2024: (JUL, 6), 2025: (JUN, 27)} class-attribute instance-attribute

LAYLAT_AL_QADR_DATES_CONFIRMED_YEARS = (1998, 2025) class-attribute instance-attribute

LAYLAT_AL_QADR_DATES = {1998: (JAN, 26), 1999: (JAN, 15), 2000: ((JAN, 4), (DEC, 24)), 2001: (DEC, 13), 2003: (NOV, 22), 2004: (NOV, 11), 2005: (OCT, 31), 2008: (SEP, 28), 2014: (JUL, 25)} class-attribute instance-attribute

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

MAWLID_DATES = {1998: (JUL, 7), 2000: (JUN, 15), 2003: (MAY, 14), 2004: (MAY, 2), 2006: (APR, 11), 2011: (FEB, 16), 2012: (FEB, 5), 2014: (JAN, 14), 2015: ((JAN, 3), (DEC, 24)), 2016: (DEC, 12), 2017: (DEC, 1), 2018: (NOV, 21), 2019: (NOV, 10), 2024: (SEP, 16), 2025: (SEP, 5)} class-attribute instance-attribute