Skip to content

Instance Property

daysOfTheYear

iOS 18.0+ iPadOS 18.0+ Mac Catalyst 18.0+ macOS 15.0+ tvOS 18.0+ watchOS 11.0+
On which days of the year the event may occur.
var daysOfTheYear: [Int]

Discussion

  • 1 signifies the first day of the year.

  • Negative values point to a day counted backwards from the last day of the year This field is unused when frequency is any of .daily, .weekly, or .monthly.