ICalendarEvent
public struct ICalendarEvent : VComponent
Provides a grouping of component properties that describes an event.
-
Declaration
Swift
public let component: String
-
In the case of an iCalendar object that specifies a “METHOD” property, this property specifies the date and time that the instance of the iCalendar object was created. In the case of an iCalendar object that doesn’t specify a “METHOD” property, this property specifies the date and time that the information associated with the calendar component was last revised in the calendar store.
Declaration
Swift
public var dtstamp: Date
-
This property defines the persistent, globally unique identifier for the calendar component.
Declaration
Swift
public var uid: String
-
This property defines the access classification for a calendar component.
Declaration
Swift
public var classification: String?
-
This property specifies the date and time that the calendar information was created by the calendar user agent in the calendar store.
Note: This is analogous to the creation date and time for a file in the file system.
Declaration
Swift
public var created: Date?
-
This property specifies when the calendar component begins.
Declaration
Swift
public var description: String?
-
This property specifies when the calendar component begins.
Declaration
Swift
public var dtstart: ICalendarDate?
-
This property specifi9es information related to the global position for the activity specified by a calendar component.
Declaration
Swift
public var geo: ICalendarGeographicPosition?
-
This property specifies the date and time that the information associated with the calendar component was last revised in the calendar store.
Note: This is analogous to the modification date and time for a file in the file system.
Declaration
Swift
public var lastModified: Date?
-
This property defines the intended venue for the activity for the activity.
Declaration
Swift
public var location: String?
-
This property defines the organizer for a calendar component.
Declaration
Swift
public var organizer: String?
-
This property defines the relative priority for a calendar component.
Declaration
Swift
public var priority: Int?
-
This property defines the revision sequence number of the calendar component within a sequence of revisions.
Declaration
Swift
public var seq: Int?
-
This property defines the overall status or confirmation for the calendar component.
Declaration
Swift
public var status: String?
-
This property defines a short summary or subject for the calendar component.
Declaration
Swift
public var summary: String?
-
This property defines whether or not an event is transparent to busy time searches.
Declaration
Swift
public var transp: String?
-
This property defines a Uniform Resource Locator (URL) associated with the iCalendar object.
Declaration
Swift
public var url: URL?
-
This property specifies the date and time that a calendar component ends.
Must have the same ‘ignoreTime’-value as tstart. Mutually exclusive to ‘due’.
Declaration
Swift
public var dtend: ICalendarDate? { get set }
-
This property specifies a positive duration of time.
Mutually exclusive to ‘due’.
Declaration
Swift
public var duration: ICalendarDuration? { get set }
-
This property is used in conjunction with the “UID” and “SEQUENCE” properties to identify a specific instance of a recurring “VEVENT”, “VTODO”, or “VJOURNAL” calendar component. The property value is the original value of the “DTSTART” property of the recurrence instance.
Declaration
Swift
public var recurrenceId: Date?
-
This property defines a rule or repeating pattern for recurring events, to-dos, journal entries, or time zone definitions.
Declaration
Swift
public var rrule: ICalendarRecurrenceRule?
-
Specifies whether an appointment is intended to be treated as all-day
Declaration
Swift
public var xMicrosoftCDOAllDayEvent: Bool?
-
Specifies the BUSY status of an appointment.
Declaration
Swift
public var xMicrosoftCDOBusyStatus: ICalendarMicrosoftStatus?
-
Specifies the busy status that the meeting organizer intends the attendee’s copy of the meeting to have.
Note
This property SHOULD<217> be imported into PidLidIntendedBusyStatus ([MS-OXPROPS] section 2.151) using the same import mapping as X-MICROSOFT-CDO-BUSYSTATUS as specified in section 2.1.3.1.1.20.31.Declaration
Swift
public var xMicrosoftCDOIntendedStatus: ICalendarMicrosoftStatus?
-
Specifies the importance of an appointment.
Declaration
Swift
public var xMicrosoftCDOImportance: ICalendarMicrosoftImportance?
-
Undocumented
Declaration
Swift
public var alarms: [ICalendarAlarm]
-
Undocumented
Declaration
Swift
public var timeZone: ICalendarTimeZone?
-
Declaration
Swift
public var children: [VComponent] { get }
-
Declaration
Swift
public var properties: [VContentLine?] { get }
-
init(dtstamp:
uid: classification: created: description: dtstart: geo: lastModified: location: organizer: priority: seq: status: summary: transp: url: dtend: duration: recurrenceId: rrule: alarms: timeZone: xMicrosoftCDOAllDayEvent: xMicrosoftCDOBusyStatus: xMicrosoftCDOIntendedStatus: xMicrosoftCDOImportance: ) Undocumented
Declaration
Swift
public init( dtstamp: Date = Date(), uid: String = UUID().uuidString, classification: String? = nil, created: Date? = Date(), description: String? = nil, dtstart: ICalendarDate? = nil, geo: ICalendarGeographicPosition? = nil, lastModified: Date? = Date(), location: String? = nil, organizer: String? = nil, priority: Int? = nil, seq: Int? = nil, status: String? = nil, summary: String? = nil, transp: String? = nil, url: URL? = nil, dtend: ICalendarDate? = nil, duration: ICalendarDuration? = nil, recurrenceId: Date? = nil, rrule: ICalendarRecurrenceRule? = nil, alarms: [ICalendarAlarm] = [], timeZone: ICalendarTimeZone? = nil, xMicrosoftCDOAllDayEvent: Bool? = nil, xMicrosoftCDOBusyStatus: ICalendarMicrosoftStatus? = nil, xMicrosoftCDOIntendedStatus: ICalendarMicrosoftStatus? = nil, xMicrosoftCDOImportance: ICalendarMicrosoftImportance? = nil )