Makes the clock stop functioning.
- iOS 6.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
After invalidation, the clock will return errors from all APIs. This should only be called by the "owner" of the clock, who knows (for example) that some piece of hardware has gone away, and the clock will no longer work (and might even crash).
Returns a Boolean that indicates whether it is possible for two clocks to drift relative to each other.
Queries the relative rate of one timebase or clock relative to another timebase or clock.
Queries the relative rate of one timebase or clock relative to another timebase or clock and the times of each timebase or clock at which the relative rate went into effect.
Converts a time from one timebase or clock to another timebase or clock.
Returns a Boolean indicating whether it is possible for one timebase/clock to drift relative to the other.
A helper function to get time from a clock or timebase.