diff options
Diffstat (limited to 'internal/liturgy')
| -rw-r--r-- | internal/liturgy/section.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/liturgy/section.go b/internal/liturgy/section.go index 485a45f..baf2b9d 100644 --- a/internal/liturgy/section.go +++ b/internal/liturgy/section.go @@ -36,6 +36,10 @@ type DayInfo struct { // Rank is the normalized liturgical rank of the observed celebration: // the Ordinary Form's "ferial", "optional", "memorial", "feast", // "solemnity", or the 1962 form's "class-1".."class-4", - // "commemoration". Empty when the day carries no rank. + // "commemoration". The engine always supplies a rank: an unset or + // unrecognised rank on a sanctoral celebration defaults to "ferial" + // (calendar.buildCelebration), and every temporal-day constructor sets + // one explicitly. Consumers must not treat an empty Rank as meaning "no + // celebration". Rank string } |
