Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update US holidays: American Samoa holidays #2017

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions holidays/countries/united_states.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ class UnitedStates(ObservedHolidayBase, ChristianHolidays, InternationalHolidays

Washington's Birthday (IN):
- https://www.in.gov/spd/benefits/state-holidays/

American Samoa holidays:
- https://asbar.org/code-annotated/1-0501-public-holidays/
"""

country = "US"
Expand Down Expand Up @@ -306,8 +309,16 @@ def _populate_subdiv_ar_public_holidays(self):
self._add_holiday_feb_22(name)

def _populate_subdiv_as_public_holidays(self):
# Christmas Eve
self._add_christmas_eve_holiday()
# American Samoa Flag Day
if self._year >= 1901:
self._add_observed(self._add_holiday_apr_17("American Samoa Flag Day"))

# Manu'a Islands Cession Day
if self._year >= 1983:
self._add_observed(self._add_holiday_jul_16("Manu'a Islands Cession Day"))

# White Sunday
self._add_holiday_2nd_sun_of_oct("White Sunday")

def _populate_subdiv_az_public_holidays(self):
# Martin Luther King Jr. Day
Expand Down
Loading
Loading