The time interval to advance date
by.
Instance Method
インスタンスメソッド
advanced(by:)
Calculates an operation queue scheduler time by advancing the scheduler time type’s date by the given interval.
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 advanced(by n: OperationQueue
.SchedulerTimeType
.Stride
) -> OperationQueue
.SchedulerTimeType
Parameters パラメータ
n
Return Value 戻り値
An operation queue scheduler time advanced by the given interval from date
.
Relationships 関係
From Protocol 由来プロトコル
See Also 参照
Managing Scheduler Time Type Properties
var date: Date
The date this type represents.
func distance(to: OperationQueue.SchedulerTimeType) -> OperationQueue.SchedulerTimeType.Stride
The distance to another operation queue scheduler time.
struct OperationQueue.SchedulerTimeType.Stride
The interval by which operation queue times advance.