holidays.countries.tanzania

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

Bases: ObservedHolidayBase, ChristianHolidays, InternationalHolidays, IslamicHolidays, StaticHolidays

Tanzania holidays.

References
Checked With
Parameters:
  • islamic_show_estimated (bool, default: True ) –

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

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

country = 'TZ' class-attribute instance-attribute

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

default_language = 'sw' class-attribute instance-attribute

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

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

observed_estimated_label = tr('Badala ya %s (makisio)') class-attribute instance-attribute

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

start_year = 1965 class-attribute instance-attribute

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

Bases: Tanzania

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

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

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

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

Bases: Tanzania

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

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

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

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

EID_AL_ADHA_DATES = {1965: (APR, 13), 1967: (MAR, 22), 1968: (MAR, 10), 1969: (FEB, 28), 1970: (FEB, 17), 1975: (DEC, 14), 1982: (OCT, 5), 1983: (SEP, 25), 1984: (SEP, 9), 1987: (AUG, 7), 1991: (JUN, 21), 1992: (JUN, 12), 1994: (MAY, 20), 1998: (APR, 7), 2001: (MAR, 5), 2003: (FEB, 12), 2004: (FEB, 2), 2006: (JAN, 9), 2007: (JAN, 1), 2013: (OCT, 15), 2015: (SEP, 23), 2016: (SEP, 13), 2019: (AUG, 13), 2020: (JUL, 31)} class-attribute instance-attribute

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

EID_AL_FITR_DATES = {1965: (FEB, 3), 1967: (JAN, 13), 1968: (JAN, 2), 1969: (DEC, 11), 1975: (OCT, 7), 1982: (JUL, 24), 1983: (JUL, 13), 1984: (JUL, 4), 1987: (MAY, 29), 1991: (APR, 15), 1992: (APR, 5), 1994: (MAR, 12), 1998: (JAN, 29), 2001: (DEC, 26), 2003: (NOV, 27), 2004: (OCT, 18), 2006: (OCT, 29), 2007: (OCT, 13), 2013: (AUG, 8), 2018: (JUN, 15), 2020: (MAY, 24), 2024: (APR, 10)} class-attribute instance-attribute

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

MAWLID_DATES = {1965: (JUL, 12), 1967: (JUN, 21), 1968: (JUN, 10), 1969: (MAY, 29), 1975: (MAR, 25), 1982: (JAN, 8), 1983: (DEC, 20), 1984: (DEC, 8), 1987: (NOV, 4), 1991: (OCT, 19), 1992: (SEP, 10), 1994: (AUG, 18), 1998: (APR, 7), 2001: (JUL, 6), 2003: (MAY, 12), 2004: (MAY, 2), 2006: (APR, 10), 2007: (MAR, 31), 2013: (JAN, 24), 2015: ((JAN, 3), (DEC, 24)), 2020: (OCT, 29), 2025: (SEP, 4)} class-attribute instance-attribute

TanzaniaStaticHolidays

Tanzania special holidays.

References

tz_election_day = tr('Sikukuu ya Uchaguzi Mkuu wa Tanzania') class-attribute instance-attribute

phc_census_day = tr('Siku ya Sensa ya Kitaifa ya Watu na Makazi') class-attribute instance-attribute

john_magufuli_funeral = tr('Mazishi ya John Pombe Magufuli') class-attribute instance-attribute

special_public_holidays = {1967: (DEC, 1, tr('Uzinduzi wa Jumuiya ya Kiuchumi ya Afrika Mashariki')), 2002: (AUG, 25, phc_census_day), 2015: (NOV, 5, tr('Sikukuu ya Kuapishwa kwa John Pombe Magufuli')), 2020: (OCT, 28, tz_election_day), 2021: ((MAR, 22, john_magufuli_funeral), (MAR, 25, john_magufuli_funeral)), 2022: (AUG, 23, phc_census_day)} class-attribute instance-attribute

special_public_holidays_observed = {1994: (DEC, 27, tr('Kuzaliwa Kristo')), 2022: ((JAN, 3, tr('Mwaka Mpya')), (MAY, 2, tr('Sikukuu ya Wafanyakazi Ulimwenguni')), (JUL, 11, tr('Eid El Hajj')))} class-attribute instance-attribute