Repository: vacanza/holidays
Pull request #2083 (2024-10-26 13:22:08)

Update United States holidays: Alaska state holidays correction
<!--
  Thanks for contributing to holidays!
-->

## Proposed change

<!--
  Describe the big picture of your changes.
  Don't forget to link your PR to an existing issue if any.
-->

According to the ["Alaska Dispatch"](https://web.archive.org/web/20120502232826/http://www.alaskadispatch.com/article/happy-alaska-day-great-land):
> The changing of the colors and the guard is commemorated in Alaska each Oct. 18, designated "Alaska Day," an official state holiday in 1917 by the third Territorial Legislature. That same year, territorial lawmakers also created Seward's Day, also a state holiday, to mark on each final Monday in March the signing of the purchase treaty.

Thus, the start date for this should be 1917 instead of 1867 as in the current implementation.

As for `Seward's Day`, a local newspaper mentioned that [this wasn't observed in 1921](https://chroniclingamerica.loc.gov/lccn/sn86072239/1922-03-29/ed-1/seq-8/):
![image](https://github.com/user-attachments/assets/50e216d7-2ada-4cc8-8886-f4b3cacebd4b)

> [!NOTE]
> There's currently 2 state-level checks being used in United States test files at the moment, between 
> ```python3
> self.assertNoHolidayName(name, self.state_hols["AK"], range(1865, 1917))
> ```
> and
> ```python3
> self.assertNoHolidayName(name, UnitedStates(subdiv="AK", years=range(1865, 1917)))
> ```
> with negligible performance difference between the two - though we should probably standardize our test code to either one of them.

## Type of change

<!--
  Type of change you want to introduce. Please, check one (1) box only!
  If your PR requires multiple boxes to be checked, most likely it needs to
  be split into multiple PRs.
-->

- [ ] New country/market holidays support (thank you!)
- [x] Supported country/market holidays update (calendar discrepancy fix, localization)
- [ ] Existing code/documentation/test/process quality improvement (best practice, cleanup, refactoring, optimization)
- [ ] Dependency update (version deprecation/pin/upgrade)
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] Breaking change (a code change causing existing functionality to break)
- [ ] New feature (new `holidays` functionality in general)

## Checklist

<!--
  Put an `x` in the boxes that apply. You can change them after PR is created.
-->

- [x] I've followed the [contributing guidelines][contributing-guidelines]
- [x] I've run `make pre-commit`, it didn't generate any changes
- [x] I've run `make test`, all tests passed locally

<!--
  Thanks again for your contribution!
-->

[contributing-guidelines]: https://github.com/vacanza/holidays/blob/dev/CONTRIBUTING.rst
[docs]: https://github.com/vacanza/holidays/tree/dev/docs/source


sonarcloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=vacanza_python-holidays&pullRequest=2083) **Quality Gate passed**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=vacanza_python-holidays&pullRequest=2083&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=vacanza_python-holidays&pullRequest=2083&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=vacanza_python-holidays&pullRequest=2083)


codecov[bot]: ## [Codecov](https://app.codecov.io/gh/vacanza/holidays/pull/2083?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacanza) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 100.00%. Comparing base [(`0adc4be`)](https://app.codecov.io/gh/vacanza/holidays/commit/0adc4beb89bed5e08e94fb845cae9da41b3ebd23?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacanza) to head [(`b13aff8`)](https://app.codecov.io/gh/vacanza/holidays/commit/b13aff884c09b5cc54267b1d26dc203580fd6a98?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacanza).

<details><summary>Additional details and impacted files</summary>


```diff
@@            Coverage Diff            @@
##               dev     #2083   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          191       191           
  Lines        11546     11546           
  Branches      1743      1743           
=========================================
  Hits         11546     11546           
```

</details>

[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/vacanza/holidays/pull/2083?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacanza).   
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacanza).

KJhellico: > There's currently 2 state-level checks being used in United States test files at the moment, between
> 
> ```python
> self.assertNoHolidayName(name, self.state_hols["AK"], range(1865, 1917))
> ```
> 
> and
> 
> ```python
> self.assertNoHolidayName(name, UnitedStates(subdiv="AK", years=range(1865, 1917)))
> ```

But option with `UnitedStates(subdiv=` is used only for cases with `observed=False` or for years before 1865.
sonarcloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=vacanza_python-holidays&pullRequest=2083) **Quality Gate passed**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=vacanza_python-holidays&pullRequest=2083&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=vacanza_python-holidays&pullRequest=2083&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=vacanza_python-holidays&pullRequest=2083)


sonarcloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=vacanza_python-holidays&pullRequest=2083) **Quality Gate passed**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=vacanza_python-holidays&pullRequest=2083&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=vacanza_python-holidays&pullRequest=2083&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=vacanza_python-holidays&pullRequest=2083)


sonarcloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=vacanza_python-holidays&pullRequest=2083) **Quality Gate passed**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=vacanza_python-holidays&pullRequest=2083&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=vacanza_python-holidays&pullRequest=2083&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=vacanza_python-holidays&pullRequest=2083&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=vacanza_python-holidays&pullRequest=2083)



Patch:
diff --git a/holidays/countries/australia.py b/holidays/countries/australia.py
index a5f12126..2de0cf21 100644
--- a/holidays/countries/australia.py
+++ b/holidays/countries/australia.py
@@ -601,6 +601,7 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
                 self._add_holiday_jan_26(name)
 
         # Adelaide Cup Day.
+        # First observed as Public Holidays in 1973: https://racingsa.com.au/blog/2020/03/06/2380/a-little-adelaide-cup-history
         # 2006-2023: changed each year by SA Government Proclamation from the 3rd Monday in May
         # to the 2nd Monday in March.
         # from 2024: changed to the 2nd Monday in March officially.
@@ -609,7 +610,7 @@ class Australia(ObservedHolidayBase, ChristianHolidays, InternationalHolidays, S
         name = tr("Adelaide Cup Day")
         if self._year >= 2006:
             self._add_holiday_2nd_mon_of_mar(name)
-        else:
+        elif self._year >= 1973:
             self._add_holiday_3rd_mon_of_may(name)
 
         # Easter Saturday.
diff --git a/holidays/countries/united_states.py b/holidays/countries/united_states.py
index afdfee5d..51bde89a 100644
--- a/holidays/countries/united_states.py
+++ b/holidays/countries/united_states.py
@@ -246,7 +246,8 @@ class UnitedStates(ObservedHolidayBase, ChristianHolidays, InternationalHolidays
 
     def _populate_subdiv_ak_public_holidays(self):
         # Seward's Day
-        if self._year >= 1918:
+        # No observance in 1921: https://chroniclingamerica.loc.gov/lccn/sn86072239/1922-03-29/ed-1/seq-8/
+        if self._year >= 1918 and self._year != 1921:
             name = "Seward's Day"
             if self._year >= 1955:
                 self._add_holiday_last_mon_of_mar(name)
@@ -260,7 +261,8 @@ class UnitedStates(ObservedHolidayBase, ChristianHolidays, InternationalHolidays
             )
 
         # Alaska Day
-        if self._year >= 1867:
+        # https://web.archive.org/web/20120502232826/http://www.alaskadispatch.com/article/happy-alaska-day-great-land
+        if self._year >= 1917:
             self._add_observed(self._add_holiday_oct_18("Alaska Day"))
 
     def _populate_subdiv_al_public_holidays(self):
diff --git a/snapshots/countries/AU_SA.json b/snapshots/countries/AU_SA.json
index f94b8a08..2722e080 100644
--- a/snapshots/countries/AU_SA.json
+++ b/snapshots/countries/AU_SA.json
@@ -5,7 +5,6 @@
     "1950-04-08": "Easter Saturday",
     "1950-04-10": "Easter Monday",
     "1950-04-25": "ANZAC Day",
-    "1950-05-15": "Adelaide Cup Day",
     "1950-06-12": "King's Birthday",
     "1950-10-02": "Labor Day",
     "1950-12-25": "Christmas Day",
@@ -16,7 +15,6 @@
     "1951-03-24": "Easter Saturday",
     "1951-03-26": "Easter Monday",
     "1951-04-25": "ANZAC Day",
-    "1951-05-21": "Adelaide Cup Day",
     "1951-06-11": "King's Birthday",
     "1951-10-01": "Labor Day",
     "1951-12-25": "Christmas Day",
@@ -27,7 +25,6 @@
     "1952-04-12": "Easter Saturday",
     "1952-04-14": "Easter Monday",
     "1952-04-25": "ANZAC Day",
-    "1952-05-19": "Adelaide Cup Day",
     "1952-06-09": "Queen's Birthday",
     "1952-10-06": "Labor Day",
     "1952-12-25": "Christmas Day",
@@ -38,7 +35,6 @@
     "1953-04-04": "Easter Saturday",
     "1953-04-06": "Easter Monday",
     "1953-04-25": "ANZAC Day",
-    "1953-05-18": "Adelaide Cup Day",
     "1953-06-08": "Queen's Birthday",
     "1953-10-05": "Labor Day",
     "1953-12-25": "Christmas Day",
@@ -50,7 +46,6 @@
     "1954-04-19": "Easter Monday",
     "1954-04-25": "ANZAC Day",
     "1954-04-26": "ANZAC Day (observed)",
-    "1954-05-17": "Adelaide Cup Day",
     "1954-06-14": "Queen's Birthday",
     "1954-10-04": "Labor Day",
     "1954-12-25": "Christmas Day",
@@ -61,7 +56,6 @@
     "1955-04-09": "Easter Saturday",
     "1955-04-11": "Easter Monday",
     "1955-04-25": "ANZAC Day",
-    "1955-05-16": "Adelaide Cup Day",
     "1955-06-13": "Queen's Birthday",
     "1955-10-03": "Labor Day",
     "1955-12-25": "Christmas Day",
@@ -72,7 +66,6 @@
     "1956-03-31": "Easter Saturday",
     "1956-04-02": "Easter Monday",
     "1956-04-25": "ANZAC Day",
-    "1956-05-21": "Adelaide Cup Day",
     "1956-06-11": "Queen's Birthday",
     "1956-10-01": "Labor Day",
     "1956-12-25": "Christmas Day",
@@ -83,7 +76,6 @@
     "1957-04-20": "Easter Saturday",
     "1957-04-22": "Easter Monday",
     "1957-04-25": "ANZAC Day",
-    "1957-05-20": "Adelaide Cup Day",
     "1957-06-10": "Queen's Birthday",
     "1957-10-07": "Labor Day",
     "1957-12-25": "Christmas Day",
@@ -94,7 +86,6 @@
     "1958-04-05": "Easter Saturday",
     "1958-04-07": "Easter Monday",
     "1958-04-25": "ANZAC Day",
-    "1958-05-19": "Adelaide Cup Day",
     "1958-06-09": "Queen's Birthday",
     "1958-10-06": "Labor Day",
     "1958-12-25": "Christmas Day",
@@ -105,7 +96,6 @@
     "1959-03-28": "Easter Saturday",
     "1959-03-30": "Easter Monday",
     "1959-04-25": "ANZAC Day",
-    "1959-05-18": "Adelaide Cup Day",
     "1959-06-08": "Queen's Birthday",
     "1959-10-05": "Labor Day",
     "1959-12-25": "Christmas Day",
@@ -116,7 +106,6 @@
     "1960-04-16": "Easter Saturday",
     "1960-04-18": "Easter Monday",
     "1960-04-25": "ANZAC Day",
-    "1960-05-16": "Adelaide Cup Day",
     "1960-06-13": "Queen's Birthday",
     "1960-10-03": "Labor Day",
     "1960-12-25": "Christmas Day",
@@ -127,7 +116,6 @@
     "1961-04-01": "Easter Saturday",
     "1961-04-03": "Easter Monday",
     "1961-04-25": "ANZAC Day",
-    "1961-05-15": "Adelaide Cup Day",
     "1961-06-12": "Queen's Birthday",
     "1961-10-02": "Labor Day",
     "1961-12-25": "Christmas Day",
@@ -138,7 +126,6 @@
     "1962-04-21": "Easter Saturday",
     "1962-04-23": "Easter Monday",
     "1962-04-25": "ANZAC Day",
-    "1962-05-21": "Adelaide Cup Day",
     "1962-06-11": "Queen's Birthday",
     "1962-10-01": "Labor Day",
     "1962-12-25": "Christmas Day",
@@ -149,7 +136,6 @@
     "1963-04-13": "Easter Saturday",
     "1963-04-15": "Easter Monday",
     "1963-04-25": "ANZAC Day",
-    "1963-05-20": "Adelaide Cup Day",
     "1963-06-10": "Queen's Birthday",
     "1963-10-07": "Labor Day",
     "1963-12-25": "Christmas Day",
@@ -160,7 +146,6 @@
     "1964-03-28": "Easter Saturday",
     "1964-03-30": "Easter Monday",
     "1964-04-25": "ANZAC Day",
-    "1964-05-18": "Adelaide Cup Day",
     "1964-06-08": "Queen's Birthday",
     "1964-10-05": "Labor Day",
     "1964-12-25": "Christmas Day",
@@ -172,7 +157,6 @@
     "1965-04-19": "Easter Monday",
     "1965-04-25": "ANZAC Day",
     "1965-04-26": "ANZAC Day (observed)",
-    "1965-05-17": "Adelaide Cup Day",
     "1965-06-14": "Queen's Birthday",
     "1965-10-04": "Labor Day",
     "1965-12-25": "Christmas Day",
@@ -183,7 +167,6 @@
     "1966-04-09": "Easter Saturday",
     "1966-04-11": "Easter Monday",
     "1966-04-25": "ANZAC Day",
-    "1966-05-16": "Adelaide Cup Day",
     "1966-06-13": "Queen's Birthday",
     "1966-10-03": "Labor Day",
     "1966-12-25": "Christmas Day",
@@ -194,7 +177,6 @@
     "1967-03-25": "Easter Saturday",
     "1967-03-27": "Easter Monday",
     "1967-04-25": "ANZAC Day",
-    "1967-05-15": "Adelaide Cup Day",
     "1967-06-12": "Queen's Birthday",
     "1967-10-02": "Labor Day",
     "1967-12-25": "Christmas Day",
@@ -205,7 +187,6 @@
     "1968-04-13": "Easter Saturday",
     "1968-04-15": "Easter Monday",
     "1968-04-25": "ANZAC Day",
-    "1968-05-20": "Adelaide Cup Day",
     "1968-06-10": "Queen's Birthday",
     "1968-10-07": "Labor Day",
     "1968-12-25": "Christmas Day",
@@ -216,7 +197,6 @@
     "1969-04-05": "Easter Saturday",
     "1969-04-07": "Easter Monday",
     "1969-04-25": "ANZAC Day",
-    "1969-05-19": "Adelaide Cup Day",
     "1969-06-09": "Queen's Birthday",
     "1969-10-06": "Labor Day",
     "1969-12-25": "Christmas Day",
@@ -227,7 +207,6 @@
     "1970-03-28": "Easter Saturday",
     "1970-03-30": "Easter Monday",
     "1970-04-25": "ANZAC Day",
-    "1970-05-18": "Adelaide Cup Day",
     "1970-06-08": "Queen's Birthday",
     "1970-10-05": "Labor Day",
     "1970-12-25": "Christmas Day",
@@ -239,7 +218,6 @@
     "1971-04-12": "Easter Monday",
     "1971-04-25": "ANZAC Day",
     "1971-04-26": "ANZAC Day (observed)",
-    "1971-05-17": "Adelaide Cup Day",
     "1971-06-14": "Queen's Birthday",
     "1971-10-04": "Labor Day",
     "1971-12-25": "Christmas Day",
@@ -250,7 +228,6 @@
     "1972-04-01": "Easter Saturday",
     "1972-04-03": "Easter Monday",
     "1972-04-25": "ANZAC Day",
-    "1972-05-15": "Adelaide Cup Day",
     "1972-06-12": "Queen's Birthday",
     "1972-10-02": "Labor Day",
     "1972-12-25": "Christmas Day",


Test patch:
diff --git a/tests/countries/test_australia.py b/tests/countries/test_australia.py
index 545fd3ef..f7a3455f 100644
--- a/tests/countries/test_australia.py
+++ b/tests/countries/test_australia.py
@@ -369,7 +369,8 @@ class TestAustralia(CommonCountryTests, TestCase):
             "2024-03-11",
         )
         self.assertHolidayName(name, sa_holidays, dt)
-        self.assertHolidayName(name, sa_holidays, range(1900, 2050))
+        self.assertHolidayName(name, sa_holidays, range(1973, 2050))
+        self.assertNoHolidayName(name, sa_holidays, range(1900, 1973))
         for subdiv in set(Australia.subdivisions) - {"SA"}:
             self.assertNoHolidayName(name, self.subdiv_holidays[subdiv])
 
diff --git a/tests/countries/test_united_states.py b/tests/countries/test_united_states.py
index 19a20c55..045bd9d7 100644
--- a/tests/countries/test_united_states.py
+++ b/tests/countries/test_united_states.py
@@ -916,9 +916,12 @@ class TestUnitedStates(CommonCountryTests, TestCase):
         name = "Seward's Day"
         self.assertNoHolidayName(name)
         self.assertHolidayName(
-            name, self.state_hols["AK"], (f"{year}-03-30" for year in range(1918, 1955))
+            name,
+            self.state_hols["AK"],
+            (f"{year}-03-30" for year in range(1918, 1921)),
+            (f"{year}-03-30" for year in range(1922, 1955)),
         )
-        self.assertNoHolidayName(name, self.state_hols["AK"], range(1865, 1918))
+        self.assertNoHolidayName(name, self.state_hols["AK"], range(1865, 1918), 1921)
         dt = (
             "1955-03-28",
             "2010-03-29",
@@ -1541,9 +1544,9 @@ class TestUnitedStates(CommonCountryTests, TestCase):
         name = "Alaska Day"
         self.assertNoHolidayName(name)
         self.assertHolidayName(
-            name, self.state_hols["AK"], (f"{year}-10-18" for year in range(1867, 2050))
+            name, self.state_hols["AK"], (f"{year}-10-18" for year in range(1917, 2050))
         )
-        self.assertNoHolidayName(name, self.state_hols["AK"], range(1865, 1867))
+        self.assertNoHolidayName(name, self.state_hols["AK"], range(1865, 1917))
         obs_dt = (
             "2009-10-19",
             "2014-10-17",