43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# File 'lib/calrom/config.rb', line 43
def calendar
calendar =
if is_remote_calendar?
if @sanctorale.size > 1
raise InputError.new '--calendar option provided multiple times, but at least one of the calendars is remote. Remote calendars cannot be layered.'
end
CR::Remote::Calendar.new date_range.first.year, @sanctorale.last
else
CR::PerpetualCalendar.new(sanctorale: build_sanctorale, temporale_options: temporale_options, vespers: true)
end
FilteringCalendar.new(
calendar,
filter_days,
filter_celebrations,
)
end
|