diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a824d6..d79a88e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [#10](https://github.com/itsallcode/holiday-calculator/issues/10) Support holidays with conditions and alternative dates. - [#23](https://github.com/itsallcode/holiday-calculator/issues/23) Support negated list of days of week for holidays with alternative dates. - [#9](https://github.com/itsallcode/holiday-calculator/issues/9) Support floating holidays with additional offset in days. +- [#6](https://github.com/itsallcode/holiday-calculator/issues/6) Added holiday-definition files for various countries. ## [0.1.0] - 2021-06-05 diff --git a/holidays/0-remaining.cfg b/holidays/0-remaining.cfg new file mode 100644 index 0000000..a080fd0 --- /dev/null +++ b/holidays/0-remaining.cfg @@ -0,0 +1,49 @@ +# Source: https://www.emacswiki.org/emacs/CalendarLocalization +# +# For floating holidays: +# +# ------------------------------------------- +# Emacs Lisp format (1): +# (holiday-float MONTH DAYNAME OFFSET NAME &optional DAY) +# +# example: (holiday-float 12 0 -1 "4. Advent" 24) +# +# query-replace-regexp: +# (holiday-float \([0-9]+\) +\([0-9]+\) +\([-+0-9]+\) +"\(.*\)" +\([0-9]+\)) +# holiday float \3 \2 \1 \5 \4 +# +# ------------------------------------------- +# Emacs Lisp format (2): +# (holiday-sexp '(calendar-nth-named-day OFFSET DAYNAME MONTH year &optional DAY) NAME) +# +# example: +# (holiday-sexp '(calendar-nth-named-day 1 1 1 year 6) "Día de Reyes") +# +# query-replace-regexp: +# (holiday-sexp '(calendar-nth-named-day +\([-+0-9]+\) +\([0-9]+\) +\([0-9]+\) +year +\([0-9]+\)) +"\(.*\)") +# holiday float \1 \2 \3 \4 \5 +# +# DAYNAME: 0 = SUNDAY, last argument DAY is optional. If missing +# and negative offset then last day of the month, if offset +# positive then first day of the month. +# +# ------------------------------------------- +# holiday-calculator format: +# holiday float OFFSET DAYNAME MONTH DAY "4. Advent") +# +# DAY==-1 means last day of the month. + +# -FILE Chinese +# see http://github.com/stepnem/emacs-libraries/blob/master/cal-china-x.el + +# -FILE Korean +# +# There is a package, cal-korea-x that support Korean lunar calendar, and +# display names for months. +# +# see http://github.com/cinsk/cal-korea-x/ + +# -FILE Japanese +# See http://www.meadowy.org/meadow/netinstall/export/799/branches/3.00/pkginfo/japanese-holidays/japanese-holidays.el +# https://github.com/emacs-jp/japanese-holidays/blob/master/japanese-holidays.el + diff --git a/holidays/Bavaria.cfg b/holidays/Bavaria.cfg new file mode 100644 index 0000000..d88f87e --- /dev/null +++ b/holidays/Bavaria.cfg @@ -0,0 +1,41 @@ +# holiday-calculator +# +# fixed: holiday is every year on the same month and day of month. +# arguments: month, day, name of holiday +# +# float: holiday is floating. +# arguments: nth, day of week, befor or after, month, day of month, name of holiday. +# +# Day of week is a case-insensitive string, can be abbreviated, if unique, +# e.g. MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. +# +# Meaning holiday is on the nth day of week after or before given month and day of +# month. Day of month can also be the string "last-day". +# +# easter: holiday is after or before easter sunday. +# arguments: positive or negative number of days, name of holiday. +# + +holiday fixed 1 1 Neujahr +holiday fixed 1 6 Heilige Drei Könige +holiday fixed 5 1 1. Mai +holiday fixed 10 3 Tag der Deutschen Einheit + +holiday float 4 SUN before 12 24 1. Advent +holiday float 3 SUN before 12 24 2. Advent +holiday float 2 SUN before 12 24 3. Advent +holiday float 1 SUN before 12 24 4. Advent +holiday fixed 12 25 1. Weihnachtstag +holiday fixed 12 26 2. Weihnachtstag + +holiday easter -48 Rosenmontag +holiday easter -2 Karfreitag +holiday easter 0 Ostersonntag +holiday easter +1 Ostermontag +holiday easter +39 Christi Himmelfahrt +holiday easter +49 Pfingstsonntag +holiday easter +50 Pfingstmontag +holiday easter +60 Fronleichnam +holiday fixed 8 15 Mariä Himmelfahrt +holiday fixed 11 1 Allerheiligen +holiday float 1 SUN after 11 20 Totensonntag diff --git a/holidays/Belarussia.cfg b/holidays/Belarussia.cfg new file mode 100644 index 0000000..0bffdd1 --- /dev/null +++ b/holidays/Belarussia.cfg @@ -0,0 +1,12 @@ +# Belarussian holidays +# source https://www.emacswiki.org/emacs/CalendarLocalization + +holiday fixed 1 1 New Year +holiday fixed 1 7 Orthodox Christmas +holiday fixed 2 23 Defender of the Fatherland and Armed Forces day +holiday fixed 3 8 International Women's Day #' +holiday fixed 5 1 International Labor Day +holiday fixed 5 9 Victory Day +holiday fixed 7 3 Independence Day +holiday fixed 11 7 October Revolution Day +holiday fixed 12 25 Catholic Christmas diff --git a/holidays/Bulgaria.cfg b/holidays/Bulgaria.cfg new file mode 100644 index 0000000..014ea1f --- /dev/null +++ b/holidays/Bulgaria.cfg @@ -0,0 +1,91 @@ +# Bulgarian holidays +# source https://github.com/dimitern/bulgarian-holidays.el/blob/master/bulgarian-holidays.el + +holiday easter-east -57 † Задушница (Голяма) +holiday easter-east -56 † Неделя Месопустна (Месни заговезни) +holiday easter-east -49 † Неделя Сиропустна (Сирни заговезни, Прошка) +holiday easter-east -48 † Начало на Велики пости +holiday easter-east -43 † Тодорова събота (Тодоровден) +holiday easter-east -8 † Лазарова събота (Лазаровден) +holiday easter-east -7 † Цветница (Връбница) +holiday easter-east -6 † Велики понеделник +holiday easter-east -5 † Велики вторник +holiday easter-east -4 † Велика сряда +holiday easter-east -3 † Велики четвъртък +holiday easter-east -2 † Велики петък +holiday easter-east -1 † Велика събота +holiday easter-east +0 Великден († Възкресение Христово, 1-ви ден) +holiday easter-east +1 † Възкресение Христово (2-ри ден) +holiday easter-east +2 † Възкресение Христово (3-ти ден) +holiday easter-east +3 † Светла сряда +holiday easter-east +4 † Светли четвъртък +holiday easter-east +5 † Светли петък (Живоприемни източник) +holiday easter-east +6 † Светла събота +holiday easter-east +7 † Томина неделя (Светла неделя) +holiday easter-east +39 † Възнесение Господне (Спасовден) +holiday easter-east +48 † Черешова Задушница +holiday easter-east +49 † Петдесетница (Св. Троица) +holiday easter-east +50 † Св. Дух (Духовден) +holiday easter-east +56 † Всички светии (Петрови заговезни) +holiday easter-east +63 † Всички български светии +# Fixed holidays +holiday fixed 1 1 Нова година († Васильовден) +holiday fixed 1 6 † Св. Богоявление (Йордановден) +holiday fixed 1 7 † Св. Йоан Кръстител (Ивановден) +holiday fixed 1 17 † Пр. Антоний Велики (Антоновден) +holiday fixed 1 18 † Св. Атанасий Александрийски (Атанасовден) +holiday fixed 1 20 † Св. Евтимий, патриарх Търновски +holiday fixed 1 21 † Св. Максим Изповедник +holiday fixed 1 25 † Св. Григорий Богослов +holiday fixed 2 1 † Св. Трифон (Трифоновден, Трифон Зарезан) +holiday fixed 2 2 † Сретение Господне +holiday fixed 2 3 † Св. Симеон Богоприимец (Симеоновден - зимен) +holiday fixed 2 14 * Св. Валентин (кат.) (Трифон Зарезан - ст.ст) +holiday fixed 2 17 † Св. Теодор Тирон (Тодоровден) +holiday fixed 3 1 * Баба Марта +holiday fixed 3 3 Освобождение на България +holiday fixed 3 8 * Ден на жената +holiday fixed 3 9 † Св. 40 мъченици +holiday fixed 3 17 * Св. Патрик (кат.) +holiday fixed 3 25 † Благовещение +holiday fixed 4 1 * Ден на лъжата +holiday fixed 4 14 † Св. Мартин, папа Римски +holiday fixed 4 18 † Св. Виктор +holiday fixed 5 1 Ден на труда +holiday fixed 5 2 † Св. цар Борис-Михаил +holiday fixed 5 5 † Св. Ирина +holiday fixed 5 6 Св. Георги Победоносец (Гергьовден) +holiday fixed 5 11 † Св. равноапостоли Кирил и Методий +holiday fixed 5 21 † Св. Константин и Елена +holiday fixed 5 24 Ден на Българската просвета и култура +holiday fixed 6 20 † Пр. Наум Охридски +holiday fixed 6 24 † Рождение на Св. Йоан Кръстител (Еньовден) +holiday fixed 6 29 † Св. ап. Петър и Павел (Петровден) +holiday fixed 6 30 † Св. 12 апостоли +holiday fixed 7 1 † Св. Козма и Дамян +holiday fixed 7 7 † Св. Неделя +holiday fixed 7 20 † Св. прор. Илия (Илинден) +holiday fixed 7 27 † Св. Седмочисленици +holiday fixed 8 6 † Преображение Господне +holiday fixed 8 15 † Успение Богородично (Голяма Богородица) +holiday fixed 9 1 † Начало на Църковната нова година +holiday fixed 9 6 Съединение на България +holiday fixed 9 8 † Рождество Богородично (Малка Богородица) +holiday fixed 9 14 † Въздвижение на Св. Кръст Господен (Кръстовден) +holiday fixed 9 17 † Св. София, Вяра, Надежда и Любов +holiday fixed 9 22 Независимост на България +holiday fixed 10 14 † Св. Параскева Петка Търновска (Петковден) +holiday fixed 10 19 † Пр. Йоан Рилски Чудотворец +holiday fixed 10 26 † Св. Димитрий Мироточиви (Димитровден) +holiday fixed 10 31 * Halloween +holiday float 1 SAT after 11 1 † Архангеловска Задушница +holiday fixed 11 8 † Св. архангел Михаил (Архангеловден) +holiday fixed 11 21 † Въведение Богородично (ден на хр. семейство) +holiday fixed 11 30 † Св. ап. Андрей Първозвани (Андреевден) +holiday fixed 12 6 † Св. Николай Чудотворец (Никулден) +holiday fixed 12 20 † Св. Игнатий Богоносец (Игнажден) +holiday fixed 12 22 † Св. Анастасия +holiday fixed 12 24 Бъдни вечер +holiday fixed 12 25 Коледа († Рождество Христово) +holiday fixed 12 26 Понеделник след Коледа († Събор Богородичен) +holiday fixed 12 27 † Св. Стефан (Стефановден) diff --git a/holidays/Colombia.cfg b/holidays/Colombia.cfg new file mode 100644 index 0000000..a4b573b --- /dev/null +++ b/holidays/Colombia.cfg @@ -0,0 +1,21 @@ +# Colombia holidays +# source https://www.emacswiki.org/emacs/CalendarLocalization + +holiday fixed 1 1 Ao nuevo +holiday float 1 MON 1 6 Da de Reyes +holiday float 1 MON 3 19 Da de San Jos +holiday easter -3 Jueves Santo +holiday easter -2 Viernes Santo +holiday fixed 5 1 Da del trabajo +holiday easter +43 Da de la ascencin +holiday float 1 MON 6 29 San Pedro y San Pablo +holiday easter +64 Corpus Christi +holiday easter +71 Sagrado corazn +holiday fixed 7 20 Da de la independencia +holiday fixed 8 7 Batalla de Boyac +holiday float 1 MON 8 15 Asuncin de la virgen +holiday float 1 MON 10 12 Da de la raza +holiday float 1 MON 11 1 Todos los santos +holiday float 1 MON 11 11 Independencia de Cartagena +holiday fixed 12 25 Navidad +holiday fixed 12 8 Inmaculada concepcin diff --git a/holidays/Costa Rica.cfg b/holidays/Costa Rica.cfg new file mode 100644 index 0000000..773df2e --- /dev/null +++ b/holidays/Costa Rica.cfg @@ -0,0 +1,15 @@ +# Costa Rica holidays +# source https://www.emacswiki.org/emacs/CalendarLocalization + +holiday fixed 1 1 Ao Nuevo +holiday fixed 4 11 Da de Juan Santamara +holiday easter -3 Jueves Santo +holiday easter -2 Viernes Santo +holiday fixed 5 1 Da Internacional del Trabajo +holiday float 3 SUN 6 1 Da del Padre +holiday fixed 7 25 Anexin del Partido de Nicoya +holiday fixed 8 2 Da de Virgen de los ngeles +holiday fixed 8 15 Da de la Madre +holiday fixed 9 15 Independencia de Costa Rica +holiday fixed 10 12 Da de las Culturas +holiday fixed 12 25 Navidad diff --git a/holidays/Czechia.cfg b/holidays/Czechia.cfg new file mode 100644 index 0000000..5f8345f --- /dev/null +++ b/holidays/Czechia.cfg @@ -0,0 +1,16 @@ +# Czech holidays +# source https://www.emacswiki.org/emacs/CalendarLocalization + +holiday fixed 1 1 Den obnovy samostatného českého státu; Nový rok +holiday easter -2 Velký pátek +holiday easter +1 Velikonoční Pondělí +holiday fixed 5 1 Svátek práce +holiday fixed 5 8 Den vítězství +holiday fixed 7 5 Den slovanských věrozvěstů Cyrila a Metoděje +holiday fixed 7 6 Den upálení mistra Jana Husa +holiday fixed 9 28 Den české státnosti +holiday fixed 10 28 Den vzniku samostatného československého státu +holiday fixed 11 17 Den boje za svobodu a demokracii +holiday fixed 12 24 Štědrý den +holiday fixed 12 25 svátek vánoční +holiday fixed 12 26 svátek vánoční diff --git a/holidays/Denmark.cfg b/holidays/Denmark.cfg new file mode 100644 index 0000000..2b4bf7c --- /dev/null +++ b/holidays/Denmark.cfg @@ -0,0 +1,27 @@ +# Danish holidays +# source https://raw.githubusercontent.com/soren/elisp/master/da-kalender.el + +# general holidays +holiday easter -49 Fastelavn +holiday easter -7 Palmesndag +holiday easter -3 Skrtorsdag +holiday easter -2 Langfredag +holiday easter 0 Pskedag +holiday easter +1 Anden pskedag +holiday easter +26 Store bededag +holiday easter +39 Kristi himmelfartsdag +holiday easter +49 Pinsedag +holiday easter +50 Anden pinsedag +holiday fixed 12 24 Juleaften +holiday fixed 12 25 Juledag +holiday fixed 12 26 Anden juledag +holiday fixed 12 31 Nytrsaften +# other-holidays +holiday fixed 3 8 Kvindernes internationale kampdag +holiday fixed 5 1 Arbejdernes internationale kampdag +holiday fixed 5 4 Danmarks befrielse +holiday float 2 SUN after 5 1 Mors dag +holiday fixed 6 5 Grundlovsdag +holiday fixed 6 5 Fars dag +holiday fixed 6 15 Valdemarsdag (Dannebrog) +holiday fixed 6 24 Skt. Hans dag diff --git a/holidays/Finnland.cfg b/holidays/Finnland.cfg new file mode 100644 index 0000000..da9039a --- /dev/null +++ b/holidays/Finnland.cfg @@ -0,0 +1,111 @@ +# -FILE Finnish +# see https://github.com/tlikonen/suomalainen-kalenteri/blob/master/suomalainen-kalenteri.el +# +# Challenges: +# - x-tra fomulas +# - holidays with year of instantiation + +holiday fixed 1 1 Uudenvuodenpiv +holiday fixed 1 6 Loppiainen +holiday fixed 1 18 Rukouspiv +holiday fixed 1 19 Pyhn Henrikin muistopiv +holiday fixed 1 27 Vainojen uhrien muistopiv + +# (holiday-sexp +# '(let ((day (calendar-nth-named-day 1 0 2 year 2))) +# (if (equal day (caar (holiday-easter-etc -49))) +# (caar (holiday-easter-etc -56)) +# day)) +# "Kynttilnpiv") +# +# computes a pivot date: +# holiday float 1 SUN after 2 2 Kynttilnpiv +# +# but only use pivot date, if not equal to holiday easter -49 +# otherwise use holiday easter -56 +# +# potential syntax +# holiday either float 1 Sun after FEB 2 of if equal to easter -49 then easter -56 Kynttilnpiv + +holiday fixed 2 5 J. L. Runebergin piv (liputus) +holiday fixed 2 6 Saamelaisten kansallispiv +holiday fixed 2 14 Ystvnpiv +holiday fixed 2 28 Kalevalan piv, suomalaisen kulttuurin piv (liputus) +holiday fixed 2 29 Karkauspiv +holiday fixed 3 8 Kansainvlinen naistenpiv +holiday fixed 3 19 Minna Canthin piv, tasa-arvon piv (liputus) + +# (holiday-sexp +# '(let ((day (calendar-nth-named-day 1 0 3 year 22))) +# (if (or (equal day (caar (holiday-easter-etc 0))) +# (equal day (caar (holiday-easter-etc -7)))) +# (caar (holiday-easter-etc -14)) +# day)) +# "Marian ilmestyspiv") +# +# computes a pivot date: +# holiday float 1 Sun after MAR 22 Marian ilmestyspiv +# +# but only use pivot date, if not equal to +# holiday easter 0 or holiday easter -7. +# otherwise use holiday easter -14 +# +# potential syntax +# holiday either float 1 Sun after MAR 22 of if equal to easter 0,easter -7 then easter -14 Kynttilnpiv + +holiday easter -49 Laskiaissunnuntai +holiday easter -47 Laskiaistiistai +holiday easter -7 Palmusunnuntai +holiday easter -2 Pitkperjantai +holiday easter 0 Psiispiv +holiday easter +1 2. psiispiv +holiday easter +39 Helatorstai +holiday easter +49 Helluntaipiv +holiday easter +56 Pyhn Kolminaisuuden piv +holiday easter +91 Apostolien piv +holiday easter +105 Kirkastussunnuntai +holiday easter +203 Uskonpuhdistuksen muistopiv +holiday fixed 4 8 Romanien kansallispiv # since 2014 +holiday fixed 4 9 Mikael Agricolan piv, suomen kielen piv (liputus) +holiday fixed 4 27 Kansallinen veteraanipiv (liputus) +holiday fixed 5 1 Vappu, suomalaisen tyn piv (liputus) +holiday fixed 5 9 Eurooppa-piv (liputus) +holiday fixed 5 12 J. V. Snellmanin piv, suomalaisuuden piv (liputus) +holiday float 2 SUN after 5 1 itienpiv (liputus) +holiday float 3 SUN after 5 1 Kaatuneitten muistopiv (liputus, puolitangossa) +holiday fixed 6 4 Puolustusvoimain lippujuhlan piv (liputus) +holiday float 1 SAT after 6 20 Juhannuspiv, Suomen lipun piv (liputus) +holiday fixed 7 6 Eino Leinon piv, runon ja suven piv (liputus) +holiday fixed 7 27 Unikeonpiv +holiday float 1 SAT before 8 last-day Suomen luonnon piv # since 2020 +holiday fixed 9 5 Yrittjn piv # since 2010 +holiday float 1 SUN after 9 29 Mikkelinpiv +holiday fixed 10 10 Aleksis Kiven piv, suomalaisen kirjallisuuden piv (liputus) +holiday fixed 10 24 YK:n piv (liputus) +holiday fixed 10 24 Rukouspiv +holiday float 1 SAT after 10 31 Pyhinpiv +holiday fixed 11 6 Ruotsalaisuuden piv, Kustaa Aadolfin piv (liputus) +holiday float 2 SUN after 11 1 Isnpiv (liputus) +holiday fixed 11 20 Lapsen oikeuksien piv (liputus) # since 2020 +holiday fixed 11 20 Lapsen oikeuksien piv +holiday fixed 12 6 Itsenisyyspiv (liputus) +holiday fixed 12 8 Jean Sibeliuksen piv, suomalaisen musiikin piv (liputus) # since 2011 +holiday float 14 days before 1 SUN before DEC 3 Valvomisen sunnuntai +holiday float 7 days before 1 SUN before DEC 3 Tuomiosunnuntai +holiday float 0 days after 1 SUN before DEC 3 1. adventtisunnuntai +holiday float 7 days after 1 SUN before DEC 3 2. adventtisunnuntai +holiday float 14 days after 1 SUN before DEC 3 3. adventtisunnuntai +holiday float 21 days after 1 SUN before DEC 3 4. adventtisunnuntai +holiday fixed 12 25 Joulupiv +holiday fixed 12 26 Tapaninpiv + +# (holiday-sexp +# '(let ((day (list 12 27 year))) +# (if (equal 0 (calendar-day-of-week day)) day)) +# "Apostoli Johanneksen piv") + +holiday if DEC 27 is Sun then fixed DEC 27 Apostoli Johanneksen piv +holiday fixed 12 28 Viattomien lasten piv +holiday float 1 SUN before 3 last-day Kesaika alkaa (klo 03.00, UTC+2 -> UTC+3) +holiday float 1 SUN before 10 last-day Kesaika pttyy (klo 04.00, UTC+3 -> UTC+2) +! \ No newline at end of file diff --git a/holidays/France.cfg b/holidays/France.cfg new file mode 100644 index 0000000..49f1ff6 --- /dev/null +++ b/holidays/France.cfg @@ -0,0 +1,25 @@ +# French holidays +# source https://www.emacswiki.org/emacs/french-holidays.el + +holiday fixed 1 1 Jour de l'an #' +holiday fixed 1 6 piphanie +holiday fixed 2 2 Chandeleur +holiday fixed 2 14 Saint Valentin +holiday fixed 5 1 Fte du travail +holiday fixed 5 8 Commmoration de la capitulation de l'Allemagne en 1945 #' +holiday fixed 6 21 Fte de la musique +holiday fixed 7 14 Fte nationale - Prise de la Bastille +holiday fixed 8 15 Assomption (Religieux) +holiday fixed 11 11 Armistice de 1918 +holiday fixed 11 1 Toussaint +holiday fixed 11 2 Commmoration des fidles dfunts +holiday fixed 12 25 Nol +holiday easter 0 Pques +holiday easter +1 Lundi de Pques +holiday easter +39 Ascension +holiday easter +49 Pentecte +holiday easter -47 Mardi gras +holiday float 4 SUN after 5 1 Fte des mres +# dernier dimanche de mai ou premier dimanche de juin si c'est le +# mme jour que la pentecte TODO +holiday float 3 SUN after 6 1 Fte des pres diff --git a/holidays/Ireland.cfg b/holidays/Ireland.cfg new file mode 100644 index 0000000..99478dc --- /dev/null +++ b/holidays/Ireland.cfg @@ -0,0 +1,8 @@ +# Irish holidays +# source https://www.emacswiki.org/emacs/CalendarLocalization + +holiday float 1 MON after 5 1 May Day +holiday float 1 MON after 6 1 June Bank Holiday +holiday float 1 MON after 8 1 August Bank Holiday +holiday float 1 MON before 10 -1 October Bank Holiday +holiday fixed 12 26 St. Stephen's Day #' diff --git a/holidays/Italy.cfg b/holidays/Italy.cfg new file mode 100644 index 0000000..3e59844 --- /dev/null +++ b/holidays/Italy.cfg @@ -0,0 +1,18 @@ +# Italian holidays +# source https://www.emacswiki.org/emacs/CalendarLocalization + +holiday fixed 1 1 Capodanno +holiday fixed 5 1 1 Maggio +holiday fixed 4 25 Liberazione +holiday fixed 6 2 Festa Repubblica +holiday fixed 12 8 Immacolata Concezione +holiday fixed 12 25 Natale +holiday fixed 12 26 Santo Stefano +holiday fixed 1 6 Epifania +holiday easter -52 Gioved grasso +holiday easter -47 Marted grasso +holiday easter -2 Venerd Santo +holiday easter 0 Pasqua +holiday easter +1 Luned Pasqua +holiday fixed 8 15 Assunzione di Maria +holiday fixed 11 1 Ognissanti diff --git a/holidays/Netherlands.cfg b/holidays/Netherlands.cfg new file mode 100644 index 0000000..6ccb81d --- /dev/null +++ b/holidays/Netherlands.cfg @@ -0,0 +1,29 @@ +# Dutch holidays +# source https://www.emacswiki.org/emacs/CalendarLocalization + +holiday fixed 1 1 Nieuwjaarsdag +holiday fixed 1 6 Driekoningen +holiday fixed 2 14 Valentijnsdag +holiday either fixed 4 27 or if SUN then fixed 4 26 Koningsdag +holiday fixed 5 1 Dag van de Arbeid +holiday fixed 5 4 Dodenherdenking +holiday fixed 5 5 Bevrijdingsdag +holiday fixed 10 4 Dierendag +holiday fixed 10 31 Halloween +holiday fixed 11 11 Sint Maarten +holiday fixed 12 5 Sinterklaas +holiday fixed 12 25 Eerste kerstdag +holiday fixed 12 26 Tweede kerstdag +holiday fixed 12 31 Oudejaarsdag +holiday easter -49 Carnaval +holiday easter -48 Carnaval +holiday easter -47 Carnaval +holiday easter -2 Goede Vrijdag +holiday easter 0 Eerste Paasdag +holiday easter +1 Tweede Paasdag +holiday easter +39 Hemelvaart +holiday easter +49 Eerste Pinksterdag +holiday easter +50 Tweede Pinksterdag +holiday float 2 SUN after 5 1 Moederdag +holiday float 3 SUN after 6 1 Vaderdag +holiday float 3 TUE after 9 1 Prinsjesdag diff --git a/holidays/New Zealand.cfg b/holidays/New Zealand.cfg new file mode 100644 index 0000000..b43e023 --- /dev/null +++ b/holidays/New Zealand.cfg @@ -0,0 +1,15 @@ +# New Zealand holidays +# source https://www.emacswiki.org/emacs/CalendarLocalization + +holiday fixed 1 1 New Years Day +holiday fixed 1 2 Day after New Years +holiday fixed 1 23 Wellington Anniversary Day +holiday fixed 1 29 Auckland Anniversary Day +holiday fixed 2 6 Waitangi Day +holiday easter -2 Good Friday +holiday easter +1 Easter Monday +holiday fixed 4 25 Anzac Day +holiday float 1 MON after 6 1 Queens Birthday +holiday float 4 MON after 10 1 Labour Day +holiday fixed 12 25 Christmas Day +holiday fixed 12 26 Boxing Day diff --git a/holidays/Norway.cfg b/holidays/Norway.cfg new file mode 100644 index 0000000..ac8fb18 --- /dev/null +++ b/holidays/Norway.cfg @@ -0,0 +1,30 @@ +# Norwegian holidays +# See https://github.com/unhammer/calendar-norway.el/blob/master/calendar-norway.el + +holiday fixed 1 1 Nyttrsdag +holiday fixed 12 25 Frstedag jul +holiday fixed 12 26 Annandag jul +holiday easter -3 Skjrtorsdag +holiday easter -2 Langfredag +holiday easter -1 Pskeaftan +holiday easter 0 Pskedagen +holiday easter +1 Annandag pske +holiday easter +39 Kristi himmelferdsdag +holiday easter +49 Frstedag pinse +holiday easter +50 Annandag pinse +holiday fixed 5 1 Internasjonal arbeidardag +holiday fixed 5 17 Grunnlovsdagen +holiday fixed 12 31 Nyttrsaftan +holiday fixed 2 14 Valentinsdag +holiday fixed 3 8 Internasjonale kvinnedagen +holiday fixed 4 1 Frste april +holiday float 2 SUN after 2 1 Morsdag +holiday float 2 SUN after 11 1 Farsdag +holiday fixed 5 8 Frigjeringsdagen +holiday fixed 6 23 Sankthansaftan (jonsokaftan) +holiday fixed 7 29 Olsok +holiday fixed 10 24 FN-dagen +holiday fixed 12 13 Luciadagen +holiday fixed 12 24 Julaftan +holiday float 1 Sat before JUN 26 Midtsommardagen +holiday float 1 day before 1 Sat before JUN 26 Midtsommaraftan diff --git a/holidays/Poland.cfg b/holidays/Poland.cfg new file mode 100644 index 0000000..080d4b4 --- /dev/null +++ b/holidays/Poland.cfg @@ -0,0 +1,48 @@ +# Polish holidays +# source https://emacs.stackexchange.com/questions/63650/calendar-holidays-errors + +holiday fixed 1 21 Dzień Babci +holiday fixed 1 22 Dzień Diadka +holiday fixed 2 22 Ofiarowanie Pańskie (Matki Boskiej Gromnicznej) +holiday fixed 2 8 Tłusty Czwartek +holiday fixed 2 10 Ostatnia Sobota Karnawału +holiday fixed 2 13 Ostatki +holiday fixed 3 1 Narodowy Dzień Pamięci Żołnierzy Wyklętych +holiday fixed 3 10 Dzień Mężczyzn +holiday fixed 3 20 Początek Astronomicznej Wiosny +holiday fixed 3 25 Zmiana czasu z zimowego na letni +holiday fixed 3 25 Niedziela Palmowa +holiday fixed 3 29 Wielki Czwartek +holiday fixed 3 30 Wielki Piątek +holiday fixed 3 31 Wielka Sobota +holiday fixed 4 2 (bank) Poniedziałek Wielkanocny +holiday fixed 4 8 Święto Bożego Miłosierdzia +holiday fixed 4 22 Międzynarodowy Dzień Ziemi +holiday fixed 5 1 (bank) Międzynarodowe Święto Pracy +holiday fixed 5 2 Dzień Flagi Rzeczypospolitej Polskiej +holiday fixed 5 3 (bank) Święto Konstytucji 3 Maja +holiday fixed 5 13 Wniebowstąpienie +holiday fixed 5 20 (bank) Zesłanie Ducha Świętego (Zielone Świątki) +holiday fixed 5 26 Dzień Matki +holiday fixed 5 31 (bank) Boże Ciało +holiday fixed 6 1 Międzynarodowy Dzień Dziecka +holiday fixed 6 21 Pierwszy Dzień Lata (najdłuższy dzień roku) +holiday fixed 6 23 Dzień Ojca +holiday fixed 8 1 Narodowy Dzień Pamięci Powstania Warszawskiego +holiday fixed 8 15 (bank) Święto Wojska Polskiego +holiday fixed 8 15 Wniebowzięcie Najświętrzej Maryi Panny +holiday fixed 8 31 Dzień Solidarności i Wolności +holiday fixed 9 23 Początek Astronomicznej Jesieni +holiday fixed 9 30 Dzień Chłopaka +holiday fixed 10 14 Dzień Nauczyciela (Dzień Edukacji Narodowej) +holiday fixed 10 28 Zmiana czasu z letniego na zimowy +holiday fixed 11 1 (bank) Wszystkich Świętych +holiday fixed 11 2 Dzień Zaduszny +holiday fixed 11 11 (bank) Narodowe Święto Niepodległości +holiday fixed 11 29 Andrzejki +holiday fixed 12 4 Barbórka (Dzień górnika, naftowca i gazownika) +holiday fixed 12 6 Dzień św. Mikołaja +holiday fixed 12 21 Początek Astronomicznej Zimy +holiday fixed 12 24 Wigilia Bożego Narodzenia +holiday fixed 12 25 (bank) Boże Narodzenie (1 dzień) +holiday fixed 12 26 (bank) Boże Narodzenie (2 dzień) diff --git a/holidays/Republic of South Africa.cfg b/holidays/Republic of South Africa.cfg new file mode 100644 index 0000000..d940067 --- /dev/null +++ b/holidays/Republic of South Africa.cfg @@ -0,0 +1,15 @@ +# Republic of South Africa holidays +# source https://www.emacswiki.org/emacs/CalendarLocalization + +holiday fixed 1 1 New Years Day +holiday fixed 3 21 Human Rights Day +holiday easter -2 Good Friday +holiday easter +1 Family Day +holiday fixed 4 27 Freedom Day +holiday fixed 5 1 Workers Day +holiday fixed 6 16 Youth Day in South Africa +holiday fixed 8 9 National Women's Day #' +holiday fixed 9 24 Heritage Day +holiday fixed 12 16 Day of Reconciliation +holiday fixed 12 25 Christmas Day +holiday fixed 12 26 Day of Goodwill diff --git a/holidays/Republic of Zimbabwe.cfg b/holidays/Republic of Zimbabwe.cfg new file mode 100644 index 0000000..dedf562 --- /dev/null +++ b/holidays/Republic of Zimbabwe.cfg @@ -0,0 +1,20 @@ +# Republic of Zimbabwe holidays + +holiday fixed 1 1 New Years Day +holiday easter -2 Good Friday +holiday easter +1 Easter Monday +holiday fixed 4 18 Independence Day +holiday fixed 5 1 Workers Day +holiday fixed 5 25 Africa Day +holiday float 2 MON after 8 1 Heroes' Day #' +holiday float 2 TUE after 8 1 Defence Forces Day +holiday fixed 12 22 Unity Day +holiday fixed 12 25 Christmas Day +holiday fixed 12 26 Boxing Day + +# Change these to your location in Zimbabwe. This information is +# useful for sunrise, sunset, equinox, solstice etc. +# +# (setq calendar-latitude -17.405608900000000000) +# (setq calendar-longitude 32.221119000000044000) +# (setq calendar-location-name "Mutoko, Mashonaland East, Zimbabwe") diff --git a/holidays/Russia.cfg b/holidays/Russia.cfg new file mode 100644 index 0000000..9420864 --- /dev/null +++ b/holidays/Russia.cfg @@ -0,0 +1,78 @@ +# Russian holidays +# see https://github.com/grafov/russian-holidays + +holiday fixed 1 1 Новый год # New Year day +holiday fixed 1 2 Новогодние каникулы # New Year holidays +holiday fixed 1 3 Новогодние каникулы # New Year holidays +holiday fixed 1 4 Новогодние каникулы # New Year holidays +holiday fixed 1 5 Новогодние каникулы # New Year holidays +holiday fixed 1 6 Новогодние каникулы # New Year holidays +# Christmas day according to the Julian calendar used by the Russian Orthodox Church +holiday fixed 1 7 Рождество Христово +holiday fixed 1 8 Новогодние каникулы # New Year holidays +holiday fixed 2 23 День защитника Отечества # Defender of the Fatherland Day +holiday fixed 3 8 Международный женский день # International Women's Day +holiday fixed 5 1 Праздник Весны и Труда # Spring and Labour Day +holiday fixed 5 9 День Победы # Victory Day +holiday fixed 6 12 День России # Russia Day +holiday fixed 11 4 День народного единства # Unity Day + +# Regional holidays for specific republics of the Russian Federation + +# Rebuplic of Adygea (Республика Адыгея) +holiday fixed 10 5 День образования Республики Адыгея + +# Bashkir Rebuplic (Республика Башкортостан) +holiday fixed 10 11 День Республики + +# Rebuplic of Dagestan (Республика Дагестан) +holiday fixed 7 26 День Конституции Республики Дагестан +holiday fixed 9 15 День единства народов Дагестана + +# Kabardino-Balkar Republic (Кабардино-Балкарская Республика) +holiday fixed 3 28 День возрождения балкарского народа +holiday fixed 5 21 День памяти адыгов (черкесов) +holiday fixed 9 1 День Республики +holiday fixed 9 20 День адыгов (черкесов) + +# Republic of Kalmykia (Республика Калмыкия) +holiday fixed 4 5 День принятия Степного Уложения (Конституции) Республики Калмыкии +holiday fixed 12 28 День памяти жертв депортации калмыцкого народа + +# Rebuplic of Karachay-Cherkessia (Карачаево-Черкесская Республика) +holiday fixed 5 3 День возрождения карачаевского народа +holiday fixed 7 3 День единения народов Карачаево-Черкесской Республики +holiday fixed 9 7 День образования Карачаево-Черкесской Республики + +# Komi Rebuplic (Республика Коми) +holiday fixed 8 22 День Республики Коми + +# Rebuplic of Crimea (Республика Крым) +holiday fixed 3 18 День воссоединения Крыма с Россией + +# Sakha Republic (Республика Саха (Якутия)) +holiday fixed 4 27 День Республики Саха (Якутия) +holiday fixed 6 21 Ысыах + +# Tatarstan Republic (Республика Татарстан) +holiday fixed 8 30 День Республики +holiday fixed 11 6 День Конституции Татарстана + +# Rebuplic of Udmurtia (Республика Удмуртия) +holiday fixed 11 4 День государственности Удмуртии + +# Chechen Rebuplic (Чеченская Республика) +holiday fixed 3 23 День Конституции Чеченской Республики +holiday fixed 4 16 День мира в Чеченской республике + +# Chuvash Rebuplic (Чувашская республика) +holiday fixed 6 24 День Республики + +# Penza Oblast (Пензенская область) +holiday orthodox-easter +9 Радоница - день поминовения усопших + +# Saratov Oblast (Саратовская область) +holiday orthodox-easter +9 Радоница - день поминовения усопших + +# Sebastopol city (город Севастополь) +holiday fixed 3 18 День возвращения города Севастополя в Россию diff --git a/holidays/Sweden.cfg b/holidays/Sweden.cfg new file mode 100644 index 0000000..0801192 --- /dev/null +++ b/holidays/Sweden.cfg @@ -0,0 +1,52 @@ +# Swedish holidays +# See http://bigwalter.net/daniel/elisp/sv-kalender.el + +holiday fixed 1 1 Nyrsdagen +holiday fixed 1 6 Trettondedag jul +holiday easter -2 Lngfredagen +holiday easter -1 Pskafton +holiday easter 0 Pskdagen +holiday easter +1 Annandag psk +holiday easter +39 Kristi himmelfrdsdag +holiday easter +49 Pingstdagen +holiday easter +50 Annandag pingst +holiday fixed 5 1 Frsta maj +holiday float 1 Sat before JUN 26 Midsommardagen +holiday float 1 day before 1 Sat before JUN 26 Midsommarafton +holiday float 1 Sun before NOV 6 Alla helgons dag +holiday fixed 12 25 Juldagen +holiday fixed 12 26 Annandag jul +# holiday-other-holidays +holiday fixed 1 13 Tjugondag Knut +holiday fixed 1 28 Konungens namnsdag # unless sv-hide-some-holidays +holiday fixed 2 2 Kyndelsmssodagen # unless sv-hide-some-holidays +holiday fixed 2 14 Alla hjrtans dag +holiday easter -47 Fettisdagen +holiday fixed 3 8 Internationella kvinnodagen +holiday fixed 3 12 Kronprinsessans namnsdag # unless sv-hide-some-holidays +holiday fixed 3 25 Vrfrudagen +holiday easter -3 Skrtorsdagen +holiday easter -7 Palmsndagen +holiday easter -4 Dymmelonsdagen +holiday easter -3 Skrtorsdagen +holiday fixed 4 30 Konungens fdelsedag # unless sv-hide-some-holidays +holiday fixed 4 1 Frsta april # unless sv-hide-some-holidays +holiday fixed 4 30 Valborgsmssoafton +holiday float 1 SUN before 5 last-day Mors dag +holiday fixed 6 6 Sveriges nationaldag +holiday fixed 7 14 Kronprinsessans fdelsedag # unless sv-hide-some-holidays +holiday fixed 8 8 Drottningens namnsdag # unless sv-hide-some-holidays +holiday fixed 10 24 FN-dagen +holiday float 2 SUN after 11 1 Fars dag +holiday fixed 11 6 Gustaf Adolfsdagen # unless sv-hide-some-holidays +holiday fixed 11 10 Mrtensafton +holiday float 4 SUN before 12 24 Frsta advent +holiday float 3 SUN before 12 24 Andra advent +holiday float 2 SUN before 12 24 Tredje advent +holiday float 1 SUN before 12 24 Fjrde advent +holiday fixed 12 10 Nobeldagen +holiday fixed 12 13 Lucia +holiday fixed 12 23 Drottningens fdelsedag # unless sv-hide-some-holidays +holiday fixed 12 24 Julafton +holiday fixed 12 31 Nyrsafton + diff --git a/holidays/Switzerland.cfg b/holidays/Switzerland.cfg new file mode 100644 index 0000000..ea7cd99 --- /dev/null +++ b/holidays/Switzerland.cfg @@ -0,0 +1,13 @@ +# Swiss holidays +# source https://www.emacswiki.org/emacs/CalendarLocalization + +holiday fixed 1 1 Neujahr +holiday fixed 1 2 Berchtoldstag +holiday easter -2 Karfreitag +holiday easter 1 Ostermontag +holiday easter 39 Auffahrt +holiday easter 50 Pfingstmontag +holiday fixed 5 1 Tag der Arbeit +holiday fixed 8 1 Nationalfeiertag +holiday fixed 12 25 Weihnachten +holiday fixed 12 26 Stephanstag diff --git a/holidays/UK.cfg b/holidays/UK.cfg new file mode 100644 index 0000000..c8f607d --- /dev/null +++ b/holidays/UK.cfg @@ -0,0 +1,26 @@ +# UK holidays +# see https://emacs.stackexchange.com/questions/44851/uk-holidays-definitions + +holiday fixed 1 1 New Year's Day #' +holiday if JAN 1 is Sat then fixed Jan 3 New Year's Day Bank Holiday #' +holiday if JAN 1 is Sun then fixed Jan 2 New Year's Day Bank Holiday #' +# alternative: if JAN 1 is Sat,Sun then float 1 Mon after Jan 1 New Year's Day Bank Holiday #' +holiday fixed 2 14 Valentine's Day #' +holiday fixed 3 17 St. Patrick's Day #' +holiday fixed 4 1 April Fools' Day #' +holiday easter -47 Shrove Tuesday +holiday easter -21 Mother's Day #' +holiday easter -2 Good Friday +holiday easter 0 Easter Sunday +holiday easter +1 Easter Monday +holiday float 1 MON after 5 1 Early May Bank Holiday +holiday float 1 MON before 5 -1 Spring Bank Holiday +holiday float 3 SUN after 6 1 Father's Day #' +holiday float 1 MON before 8 -1 Summer Bank Holiday +holiday fixed 10 31 Halloween +holiday fixed 12 24 Christmas Eve +holiday fixed 12 25 Christmas Day +holiday fixed 12 26 Boxing Day +holiday if DEC 25 is Sat,Sun then fixed DEC 27 Bank Holiday 1 +holiday if DEC 26 is Sat,Sun then fixed DEC 28 Bank Holiday 2 +holiday fixed 12 31 New Year's Eve #' diff --git a/holidays/USA.cfg b/holidays/USA.cfg new file mode 100644 index 0000000..f66921a --- /dev/null +++ b/holidays/USA.cfg @@ -0,0 +1,15 @@ +# US holidays +# see +# https://www.calendardate.com/year2021_holidays.php +# http://www.unitarium.com/blog/articles/list-of-federal-holidays-2010/comment-page-1 + +holiday fixed JAN 1 New Year's Day #' +holiday float 3 Mon after JAN 1 Birthday of Martin Luther King, Jr. +holiday float 3 Mon after FEB 1 Washington's Birthday #' +holiday float 1 Mon before MAY last-day Memorial Day +holiday either JUL 4 or if Sun then fixed JULY 5 Independence Day +holiday float 1 Mon after SEP 1 Labor Day +holiday float 2 Mon after OCT 1 Columbus Day +holiday fixed NOV 11 Veterans Day +holiday float 4 Thu after NOV 1 Thanksgiving Day +holiday either DEC 25 or if Sat,Sun then fixed DEC 24 Christmas Day diff --git a/holidays/Ukraine.cfg b/holidays/Ukraine.cfg new file mode 100644 index 0000000..40931ea --- /dev/null +++ b/holidays/Ukraine.cfg @@ -0,0 +1,39 @@ +# Ukrainian holidays +# source https://www.emacswiki.org/emacs/ukrainian-holidays.el + +holiday orthodox-easter 0 Воскресіння Христове +holiday fixed 1 7 Різдво +holiday fixed 1 19 Водохреща +holiday fixed 2 15 Стрітення +holiday fixed 4 7 Благовіщення +holiday orthodox-easter -7 Вербна неділя +holiday orthodox-easter 39 Вознесіння Господнє +holiday orthodox-easter 49 Святої трійці (П'ятидесятниця) #' +holiday fixed 8 19 Преображення Господнє (Яблучний Спас) +holiday fixed 8 28 Успіння Пресвятої Богородиці +holiday fixed 9 21 Різдво Пресвятої Богородиці +holiday fixed 9 27 Воздвиження Хреста Господнього +holiday fixed 12 4 Уведення в храм Пресвятої Богородиці +holiday fixed 1 6 Святий Вечір +holiday orthodox-easter -3 Великий четвер +holiday orthodox-easter -2 Велика пятниця # Good Friday +holiday orthodox-easter -1 Велика субота +holiday orthodox-easter 1 Світлий Понеділок +holiday orthodox-easter 2 Світлий Вівторок +holiday orthodox-easter 7 Провідна неділя +holiday orthodox-easter 50 Святого духа +holiday fixed 8 14 Маковея (Медовий Спас) +holiday fixed 10 14 Покрова Пресвятої Богородиці +holiday fixed 1 1 Новий рік +holiday fixed 3 8 Міжнародний жіночий день +holiday fixed 5 1 День Праці +holiday fixed 5 2 День Праці +holiday fixed 5 9 День Перемоги +holiday fixed 6 28 День Конституції України +holiday fixed 8 24 День Незалежності України +holiday fixed 1 13 Старий Новий рік +holiday fixed 1 22 День Соборності та Свободи України +holiday fixed 2 14 День святого Валентина +holiday fixed 2 21 Міжнародний день рідної мови +holiday fixed 2 23 День захисника Вітчизни +holiday fixed 4 1 День сміху