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

Add support for Finnish holidays Candlemas and Feast of the Annunciation #33

Open
ckunki opened this issue Jun 20, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@ckunki
Copy link
Collaborator

ckunki commented Jun 20, 2021

  • Kynttilänpäivä
  • ilmestyspäivä

Example

(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))
  "Kynttilänpäivä")

computes

  • a pivot date: holiday float 1 SUN after 2 2 Kynttilänpäivä
  • 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 Kynttilänpäivä

(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 ilmestyspäivä")

computes

  • a pivot date: holiday float 1 Sun after MAR 22 Marian ilmestyspäivä
  • 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 Kynttilänpäivä

@ckunki ckunki added feature enhancement New feature or request and removed feature labels Jun 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant