Skip to content

Commit

Permalink
Merge pull request #202 from Murphydbuffalo/add-juneteenth-to-federal…
Browse files Browse the repository at this point in the history
…reservebanks

Add Juneteenth to `federalreservebanks` region
  • Loading branch information
ppeble authored Sep 22, 2021
2 parents e00adad + 701ed3c commit cf23acb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions federalreservebanks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ months:
week: -1
wday: 1
regions: [federalreservebanks]
6:
- name: Juneteenth National Independence Day
regions: [federalreservebanks]
mday: 19
observed: to_weekday_if_weekend(date)
year_ranges:
from: 2021
7:
- name: Independence Day
regions: [federalreservebanks]
Expand Down Expand Up @@ -84,6 +91,18 @@ tests:
options: ["observed"]
expect:
name: "Memorial Day"
- given:
date: ['2021-06-19']
regions: ["federalreservebanks"]
options: ["observed"]
expect:
holiday: false
- given:
date: ['2021-06-18']
regions: ["federalreservebanks"]
options: ["observed"]
expect:
name: "Juneteenth National Independence Day"
- given:
date: '2012-07-04'
regions: ["federalreservebanks"]
Expand Down

0 comments on commit cf23acb

Please sign in to comment.