ICalendarRecurrenceRule
public struct ICalendarRecurrenceRule : VPropertyEncodable
This value type is used to identify properties that contain a recurrence rule specification.
-
The frequency of the recurrence.
Declaration
Swift
public var frequency: Frequency
-
At which interval the recurrence repeats (in terms of the frequency). E.g. 1 means every hour for an hourly rule, … The default value is 1.
Declaration
Swift
public var interval: Int?
-
The end date/time. Must have the same ‘ignoreTime’-value as dtstart.
Declaration
Swift
public var until: ICalendarDate? { get set }
-
The number of recurrences.
Declaration
Swift
public var count: Int? { get set }
-
At which seconds of the minute it should occur. Must be between 0 and 60 (inclusive).
Declaration
Swift
public var bySecond: [Int]? { get set }
-
At which minutes of the hour it should occur. Must be between 0 and 60 (exclusive).
Declaration
Swift
public var byMinute: [Int]? { get set }
-
At which hours of the day it should occur. Must be between 0 and 24 (exclusive).
Declaration
Swift
public var byHour: [Int]? { get set }
-
At which days (of the week/year) it should occur.
Declaration
Swift
public var byDay: [Day]?
-
At which days of the month it should occur. Specifies a COMMA-separated list of days of the month. Valid values are 1 to 31 or -31 to -1.
Declaration
Swift
public var byDayOfMonth: [Int]? { get set }
-
At which days of the year it should occur. Specifies a list of days of the year. Valid values are 1 to 366 or -366 to -1.
Declaration
Swift
public var byDayOfYear: [Int]? { get set }
-
At which weeks of the year it should occur. Specificies a list of ordinals specifying weeks of the year. Valid values are 1 to 53 or -53 to -1.
Declaration
Swift
public var byWeekOfYear: [Int]? { get set }
-
At which months it should occur. Must be between 1 and 12 (inclusive).
Declaration
Swift
public var byMonth: [Int]? { get set }
-
Specifies a list of values that corresponds to the nth occurrence within the set of recurrence instances specified by the rule. By-set-pos operates on a set of recurrence instances in one interval of the recurrence rule. For example, in a weekly rule, the interval would be one week A set of recurrence instances starts at the beginning of the interval defined by the frequency rule part. Valid values are 1 to 366 or -366 to -1. It MUST only be used in conjunction with another by-xxx rule part.
Declaration
Swift
public var bySetPos: [Int]? { get set }
-
The day on which the workweek starts. Monday by default.
Declaration
Swift
public var startOfWorkweek: DayOfWeek?
-
Declaration
Swift
public var vEncoded: String { get }
-
Undocumented
See moreDeclaration
Swift
public enum Frequency : String, VEncodable
-
Undocumented
See moreDeclaration
Swift
public enum DayOfWeek : String, VEncodable
-
Undocumented
See moreDeclaration
Swift
public struct Day : VEncodable
-
init(frequency:
interval: until: count: bySecond: byMinute: byHour: byDay: byDayOfMonth: byDayOfYear: byWeekOfYear: byMonth: bySetPos: startOfWorkweek: ) Undocumented
Declaration
Swift
public init( frequency: Frequency, interval: Int? = nil, until: ICalendarDate? = nil, count: Int? = nil, bySecond: [Int]? = nil, byMinute: [Int]? = nil, byHour: [Int]? = nil, byDay: [Day]? = nil, byDayOfMonth: [Int]? = nil, byDayOfYear: [Int]? = nil, byWeekOfYear: [Int]? = nil, byMonth: [Int]? = nil, bySetPos: [Int]? = nil, startOfWorkweek: DayOfWeek? = nil )