Skip to content

Instantly share code, notes, and snippets.

@igneus
Created April 23, 2022 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igneus/8cee84c6946129916c1945e21a627123 to your computer and use it in GitHub Desktop.
Save igneus/8cee84c6946129916c1945e21a627123 to your computer and use it in GitHub Desktop.
How often is the feast of St. Adalbert suppressed?
# How often is the feast of St. Adalbert suppressed?
require 'calendarium-romanum/cr'
cal = CR::PerpetualCalendar.new sanctorale: CR::Data['czech-praha-cs'].load_with_parents
date = CR::AbstractDate.new 4, 23
(1970..2100).each do |y|
puts y if cal[date.concretize(y)].celebrations.first.symbol != :adalbert
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment