Skip to content

Commit

Permalink
Update US holidays: American Samoa holidays (#2017)
Browse files Browse the repository at this point in the history
  • Loading branch information
KJhellico authored Sep 25, 2024
1 parent 041681a commit 1de9361
Show file tree
Hide file tree
Showing 5 changed files with 750 additions and 304 deletions.
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

0 comments on commit 1de9361

Please sign in to comment.