ICalendarDuration
public struct ICalendarDuration : VPropertyEncodable, AdditiveArithmetic
Specifies a positive duration of time.
-
Declaration
Swift
public static let zero: ICalendarDuration
-
The total seconds of this day.
Declaration
Swift
public var totalSeconds: Int64
-
Undocumented
Declaration
Swift
public var parts: (weeks: Int, days: Int, hours: Int, minutes: Int, seconds: Int) { get }
-
Declaration
Swift
public var vEncoded: String { get }
-
Undocumented
Declaration
Swift
public init(totalSeconds: Int64 = 0)
-
Undocumented
Declaration
Swift
public init(integerLiteral: Int64)
-
Undocumented
Declaration
Swift
public mutating func negate()
-
Undocumented
Declaration
Swift
public prefix static func - (operand: `Self`) -> ICalendarDuration
-
Declaration
Swift
public static func + (lhs: `Self`, rhs: `Self`) -> ICalendarDuration
-
Declaration
Swift
public static func - (lhs: `Self`, rhs: `Self`) -> ICalendarDuration
-
Undocumented
Declaration
Swift
public static func weeks(_ weeks: Int) -> ICalendarDuration
-
Undocumented
Declaration
Swift
public static func days(_ days: Int) -> ICalendarDuration
-
Undocumented
Declaration
Swift
public static func hours(_ hours: Int) -> ICalendarDuration
-
Undocumented
Declaration
Swift
public static func minutes(_ minutes: Int) -> ICalendarDuration
-
Undocumented
Declaration
Swift
public static func seconds(_ seconds: Int) -> ICalendarDuration