TimeInterval
typealias TimeInterval = Double
-
Initializes a TimeInterval from a specified value given in a specific time unit, considering the day and/or week interval definitions of the specified schedule (and disregarding its excluded intervals).
Declaration
Swift
init(from value: Double, in unit: TimeUnit, for schedule: ScheduleDefinition)
-
Returns the value of the time interval in a specific time unit, considering the day and/or week interval definitions of the specified schedule (and disregarding its excluded intervals).
Declaration
Swift
func value(in unit: TimeUnit, for schedule: ScheduleDefinition) -> Double