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

Method _add_christmas_day

holidays/groups/christian.py:224–232  ·  view source on GitHub ↗

Add Christmas Day. Christmas is an annual festival commemorating the birth of Jesus Christ. https://en.wikipedia.org/wiki/Christmas

(self, name, calendar=None)

Source from the content-addressed store, hash-verified

222 return self._add_holiday(name, _timedelta(self._easter_sunday, -47))
223
224 def _add_christmas_day(self, name, calendar=None) -> date:
225 """
226 Add Christmas Day.
227
228 Christmas is an annual festival commemorating the birth of
229 Jesus Christ.
230 https://en.wikipedia.org/wiki/Christmas
231 """
232 return self._add_holiday(name, self.__get_christmas_day(calendar))
233
234 def _add_christmas_day_two(self, name, calendar=None) -> date:
235 """

Calls 2

__get_christmas_dayMethod · 0.95
_add_holidayMethod · 0.45

Tested by

no test coverage detected