MCPcopy
hub / github.com/vacanza/holidays / _add_new_years_day

Method _add_new_years_day

holidays/groups/international.py:143–151  ·  view source on GitHub ↗

Add New Year's Day (January 1st). New Year's Day is a festival observed in most of the world on 1 January, the first day of the year in the modern Gregorian calendar. https://en.wikipedia.org/wiki/New_Year's_Day

(self, name)

Source from the content-addressed store, hash-verified

141 return self._add_holiday_may_3(name)
142
143 def _add_new_years_day(self, name) -> date:
144 """
145 Add New Year's Day (January 1st).
146
147 New Year's Day is a festival observed in most of the world on
148 1 January, the first day of the year in the modern Gregorian calendar.
149 https://en.wikipedia.org/wiki/New_Year's_Day
150 """
151 return self._add_holiday_jan_1(name)
152
153 def _add_new_years_day_two(self, name) -> date:
154 """

Calls

no outgoing calls

Tested by

no test coverage detected