Type Alias
TimeInterval
A number of seconds.
秒数
Declaration
typealias TimeInterval = Double
Discussion
A TimeInterval
value is always specified in seconds; it yields sub-millisecond precision over a range of 10,000 years.
--时间间隔值始终以秒为单位指定;它能在一万年的时间内产生亚毫秒级的精度。
On its own, a time interval does not specify a unique point in time, or even a span between specific times. Combining a time interval with one or more known reference points yields a Date
or DateInterval
value.
--就其本身而言,时间间隔并不指定惟一的时间点ÿ