18 lines
394 B
Objective-C
18 lines
394 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface TDCalibratedTime : NSObject
|
|
|
|
@property (nonatomic, assign) NSTimeInterval systemUptime;
|
|
@property (nonatomic, assign) NSTimeInterval serverTime;
|
|
@property (nonatomic, assign) BOOL stopCalibrate;
|
|
|
|
+ (instancetype)sharedInstance;
|
|
|
|
- (void)recalibrationWithTimeInterval:(NSTimeInterval)timestamp;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|