Files
yinmeng-ios/xplan-ios/Base/Tool/Timestamp/Timestamp.h
2022-04-01 15:01:34 +08:00

21 lines
407 B
Objective-C

//
// Timestamp.h
// xplan-ios
//
// Created by 冯硕 on 2022/1/12.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface Timestamp : NSObject
/// 获取当前的时间戳
/// @param succes 成功
/// @param failure 失败
+ (void)getInternetDateWithSuccess:(void(^)(NSTimeInterval timeInterval))succes
failure:(void(^)(NSError *error))failure;
@end
NS_ASSUME_NONNULL_END