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

Adding holidays in Morocco #127

Closed
wants to merge 11 commits into from
Closed

Adding holidays in Morocco #127

wants to merge 11 commits into from

Conversation

BelmoMusta
Copy link

I have used this library in one of my projects where I needed to know if a date in France is holiday, after that, I had a similar need but for a different country : Morocco. So I decided to add the definition of moroccan holidays

@@ -94,6 +94,9 @@ public void parse(int year, Set<Holiday> holidays, final Holidays config) {
case MAWLID_AN_NABI:
islamicHolidays = calendarUtil.getIslamicHolidaysInGregorianYear(year, 3, 12);
break;
case MAWLID_AN_NABI_2:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As for Morocco, this date has 2 days off

@coveralls
Copy link

coveralls commented Jan 13, 2020

Coverage Status

Coverage increased (+0.06%) to 64.21% when pulling 5f251ae on BelmoMusta:master into 5e94395 on svendiedrichsen:master.

@BelmoMusta BelmoMusta closed this Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants