Skip to main content

SpecialRecurrence

Which day a special comes round on. ruleKind says how, and which of the fields beside it count

Attributes (9)
AttributeTypeRequiredDescription
ruleKind'fixed' | 'weekday' | 'easter' | 'calendar' | 'dates'Yesfixed is the same date every year, from month and day. weekday is the nth of a weekday in a month, from month, ordinal and weekday. easter is so many days from Western Easter Sunday, from offsetDays. calendar is a date in another calendar, from calendar, calendarMonth and day. dates is a list of dates, for what none of those can work out
monthnumberNo
daynumberNoThe day of the month, in the rule's own calendar
ordinalnumberNoWhich of that weekday in the month: 1 to 5, or -1 for the last. The fourth Thursday of November is 4
weekdaynumberNo0 is Sunday
offsetDaysnumberNoDays from Easter Sunday: 0 is the day itself and -2 is Good Friday
calendar'hebrew' | 'islamic-umalqura'Noislamic-umalqura is calculated, so a community going by the sighted moon may keep the day a day either side of it
calendarMonthstringNoThe month in that calendar, as GET /schedule/occasions lists them
datesstring[]NoAs YYYY-MM-DD. These run out, so a list needs refreshing