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

[WIP, RFC] Extensibility improvements #79

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

igneus
Copy link
Owner

@igneus igneus commented Jan 7, 2021

This PR addresses some of the most painful issues encountered when working on custom Temporale implementations (1, 2), partly covered already in issue #49.

Most importantly new class BaseTemporale is extracted as superclass of Temporale. It provides facilities for defining Temporale implementations customized in most aspects:

  • liturgical seasons
  • set of temporale feasts/solemnities, their dates and other details

An important change (which I'm not yet 100% decided to leave in place) is moving the logic of season determination (see the new implementation of Temporale#season) from Temporale to the Season instances.

Issues still waiting to be addressed: to make customizable also

  • counting of season weeks
  • naming and ranks of ferials and Sundays

Comments are most welcome.

customizable
- list of movable celebrations
- dates provider (replacement of CalendariumRomanum::Temporale::Dates)
- celebration factory

instead of dates provider and celebration factory the data/logic
in question can also be specified inline, as part of the celebration
list
+ responsibility for determining season moved from BaseTemporale to the
seasons themselves
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.

None yet

1 participant