Mos*_*she 71 objective-c nsdate
timeIntervalSinceDate返回的时间单位是多少?是秒,毫秒还是其他什么?
文档说它返回一个NSTimeInterval,但是那个时间单位是那个值?
esq*_*qew 91
它返回秒数,作为NSTimeInterval值.
NSTimeInterval
从此文档页面:
NSTimeInterval始终以秒为单位指定; 它在10,000年的范围内产生亚毫秒精度.
Gar*_*ies 6
那么NSDate 文档将函数原型显示为:
NSDate
- (NSTimeInterval)timeIntervalSinceDate:(NSDate *)anotherDate
基础数据类型文档指出:
归档时间:
14 年,3 月 前
查看次数:
34569 次
最近记录: