ScheduleDetails

public struct ScheduleDetails : Hashable

Encapsulates schedule details complying with the iCalendar specification: https://tools.ietf.org/html/rfc5545.

  • Specifies when the iCalendar component begins, for example “T000000” (starts at midnight).

    Declaration

    Swift

    public var start: String
  • Specifies a positive duration of time for the iCalendar component, for example “PT24H00M” (lasts 24h).

    Declaration

    Swift

    public var duration: String
  • The recurrence information for a iCalendar component, for example “FREQ:DAILY;BYDAY:MO,TU,WE,TH,FR,SA”.

    Declaration

    Swift

    public var recurrence: String
  • Creates a new instance.

    Declaration

    Swift

    public init(start: String, duration: String, recurrence: String)