Skip to content

Commit

Permalink
[MT] vacanza#1334 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
PPsyrius committed Jun 29, 2023
1 parent 4f21f49 commit 0017285
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions holidays/countries/marshall_islands.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from datetime import date
from datetime import timedelta as td

from holidays.calendars import _get_nth_weekday_of_month
from holidays.constants import MAR, MAY, JUL, SEP, NOV, DEC, FRI
from holidays.holiday_base import HolidayBase
from holidays.holiday_groups import ChristianHolidays, InternationalHolidays
Expand Down Expand Up @@ -76,19 +75,19 @@ def _populate(self, year):
self._add_observed(self._add_holiday("Constitution Day", MAY, 1))

# Fisherman's Day
self._add_holiday("Fisherman's Day", _get_nth_weekday_of_month(1, FRI, JUL, year))
self._add_holiday("Fisherman's Day", self._get_nth_weekday_of_month(1, FRI, JUL))

# Dri-jerbal Day
self._add_holiday("Dri-jerbal Day", _get_nth_weekday_of_month(1, FRI, SEP, year))
self._add_holiday("Dri-jerbal Day", self._get_nth_weekday_of_month(1, FRI, SEP))

# Manit Day
self._add_holiday("Manit Day", _get_nth_weekday_of_month(-1, FRI, SEP, year))
self._add_holiday("Manit Day", self._get_nth_weekday_of_month(-1, FRI, SEP))

# President's Day
self._add_observed(self._add_holiday("President's Day", NOV, 17))

# Gospel Day
self._add_holiday("Gospel Day", _get_nth_weekday_of_month(1, FRI, DEC, year))
self._add_holiday("Gospel Day", self._get_nth_weekday_of_month(1, FRI, DEC))

# Christmas Day
name = "Christmas Day"
Expand Down

0 comments on commit 0017285

Please sign in to comment.