Skip to main content

SpecialDay

Specification of a special type of day, possibly also a public holiday. Can be country or region specific.

intersectWithApplicableDaysbooleanrequired

When [TRUE], the period is the intersection of applicable days and this special day. When [FALSE], the period is the union of applicable days and this special day

specialDayTypeSpecialDayTypeEnum (string)required

Collection of special types of days

  • dayBeforePublicHoliday: The day preceding a public holiday
  • dayFollowingPublicHoliday: A day following a public holiday
  • inLieuOfPublicHoliday: A holiday in lieu of a public holiday that falls on a weekend
  • longWeekendDay: A day between a public holiday and the weekend
  • other: Some other special day
  • publicEventDay: A day of a public event. You may use the publicEvent attribute to specify the corresponding event
  • publicHoliday: Public holiday A public holiday in general. You may use the PublicHoliday class to refer on a specific public holiday
  • schoolDay: A school day
  • schoolHolidays: A day within the school holidays

Possible values: [dayBeforePublicHoliday, dayFollowingPublicHoliday, inLieuOfPublicHoliday, longWeekendDay, other, publicEventDay, publicHoliday, schoolDay, schoolHolidays]

SpecialDay
{
"intersectWithApplicableDays": true,
"specialDayType": "dayBeforePublicHoliday"
}