holidays.countries.singapore

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

Bases: ObservedHolidayBase, BuddhistCalendarHolidays, ChineseCalendarHolidays, ChristianHolidays, HinduCalendarHolidays, InternationalHolidays, IslamicHolidays, StaticHolidays

Singapore holidays.

References
Limitations
  • Prior to 1969: holidays are estimated.
  • Prior to 2000: holidays may not be accurate.
  • 2024 and later: the following four moving date holidays (whose exact date is announced yearly) are estimated, and so denoted:
    • Hari Raya Puasa
    • Hari Raya Haji
    • Vesak Day
    • Deepavali
Parameters:
  • islamic_show_estimated (bool, default: True ) –

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

country = 'SG' class-attribute instance-attribute

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

default_language = 'en_SG' class-attribute instance-attribute

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

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

supported_languages = ('en_SG', 'en_US', 'th') class-attribute instance-attribute

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

Bases: Singapore

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

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

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

Bases: Singapore

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

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

SingaporeBuddhistHolidays

Bases: _CustomBuddhistHolidays

VESAK_DATES = {2001: (MAY, 7), 2002: (MAY, 26), 2003: (MAY, 15), 2004: (JUN, 2), 2005: (MAY, 22), 2006: (MAY, 12), 2007: (MAY, 31), 2008: (MAY, 19), 2009: (MAY, 9), 2010: (MAY, 28), 2011: (MAY, 17), 2012: (MAY, 5), 2013: (MAY, 24), 2014: (MAY, 13), 2015: (JUN, 1), 2016: (MAY, 21), 2017: (MAY, 10), 2018: (MAY, 29), 2019: (MAY, 19), 2020: (MAY, 7), 2021: (MAY, 26), 2022: (MAY, 15), 2023: (JUN, 2), 2024: (MAY, 22), 2025: (MAY, 12), 2026: (MAY, 31)} class-attribute instance-attribute

SingaporeChineseHolidays(calendar=CHINESE_CALENDAR)

Bases: _CustomChineseHolidays

LUNAR_NEW_YEAR_DATES_CONFIRMED_YEARS = (2001, 2026) class-attribute instance-attribute

LUNAR_NEW_YEAR_DATES = {2006: (JAN, 30), 2007: (FEB, 19)} class-attribute instance-attribute

SingaporeHinduHolidays

Bases: _CustomHinduHolidays

DIWALI_DATES = {2001: (NOV, 14), 2002: (NOV, 3), 2003: (OCT, 23), 2004: (NOV, 11), 2005: (NOV, 1), 2006: (OCT, 21), 2007: (NOV, 8), 2008: (OCT, 27), 2009: (NOV, 15), 2010: (NOV, 5), 2011: (OCT, 26), 2012: (NOV, 13), 2013: (NOV, 2), 2014: (OCT, 22), 2015: (NOV, 10), 2016: (OCT, 29), 2017: (OCT, 18), 2018: (NOV, 6), 2019: (OCT, 27), 2020: (NOV, 14), 2021: (NOV, 4), 2022: (OCT, 24), 2023: (NOV, 12), 2024: (OCT, 31), 2025: (OCT, 20), 2026: (NOV, 8)} class-attribute instance-attribute

SingaporeIslamicHolidays(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 = (2001, 2026) class-attribute instance-attribute

EID_AL_ADHA_DATES = {2001: (MAR, 6), 2002: (FEB, 23), 2003: (FEB, 12), 2010: (NOV, 17), 2014: (OCT, 5), 2015: (SEP, 24), 2016: (SEP, 12), 2018: (AUG, 22), 2022: (JUL, 10), 2023: (JUN, 29), 2024: (JUN, 17), 2025: (JUN, 7)} class-attribute instance-attribute

EID_AL_FITR_DATES_CONFIRMED_YEARS = (2001, 2026) class-attribute instance-attribute

EID_AL_FITR_DATES = {2002: (DEC, 6), 2006: (OCT, 24), 2019: (JUN, 5), 2022: (MAY, 3), 2023: (APR, 22), 2025: (MAR, 31), 2026: (MAR, 21)} class-attribute instance-attribute

SingaporeStaticHolidays

Singapore special holidays.

References

polling_day_name = tr('Polling Day') class-attribute instance-attribute

special_public_holidays = {2001: (NOV, 3, polling_day_name), 2006: (MAY, 6, polling_day_name), 2011: (MAY, 7, polling_day_name), 2015: ((AUG, 7, tr('SG50 Public Holiday')), (SEP, 11, polling_day_name)), 2020: (JUL, 10, polling_day_name), 2023: (SEP, 1, polling_day_name), 2025: (MAY, 3, polling_day_name)} class-attribute instance-attribute

special_public_holidays_observed = {2007: (JAN, 2, tr('Hari Raya Haji'))} class-attribute instance-attribute