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

Method _move_holiday

holidays/countries/australia.py:135–143  ·  view source on GitHub ↗
(
        self,
        dt: date,
        *,
        rule: ObservedRule | None = None,
        force_observed: bool = False,
        show_observed_label: bool = True,
    )

Source from the content-addressed store, hash-verified

133 super().__init__(*args, **kwargs)
134
135 def _move_holiday(
136 self,
137 dt: date,
138 *,
139 rule: ObservedRule | None = None,
140 force_observed: bool = False,
141 show_observed_label: bool = True,
142 ) -> tuple[bool, date | None]:
143 return super()._move_holiday(dt, rule=rule, show_observed_label=False)
144
145 def _populate_public_holidays(self):
146 # Good Friday.

Calls

no outgoing calls

Tested by

no test coverage detected