Another operation queue scheduler time.
Instance Method
インスタンスメソッド
distance(to:)
The distance to another operation queue scheduler time.
Availability 有効性
- iOS 7.0+
- iPadOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 11.0+
Technology
- Foundation ファウンデーション
Declaration 宣言
func distance(to other: OperationQueue
.SchedulerTimeType
) -> OperationQueue
.SchedulerTimeType
.Stride
Parameters パラメータ
other
Return Value 戻り値
The time interval between this time and the other time.
Relationships 関係
From Protocol 由来プロトコル
See Also 参照
Managing Scheduler Time Type Properties
var date: Date
The date this type represents.
func advanced(by: OperationQueue.SchedulerTimeType.Stride) -> OperationQueue.SchedulerTimeType
Calculates an operation queue scheduler time by advancing the scheduler time type’s date by the given interval.
struct OperationQueue.SchedulerTimeType.Stride
The interval by which operation queue times advance.