//
//  UnOSUtils.h
//  SDKDemo
//
//  Created by JasWorkSpace on 2018/10/19.
//  Copyright © 2018 JasWorkSpace. All rights reserved.
//

#ifndef UnOSUtils_h
#define UnOSUtils_h

#define FROMAT_DATE_1 @"yyyy-MM-dd HH:mm:ss"
#define FROMAT_DATE_2 @"yyyy-MM-dd"

@interface UnOSUtils : NSObject
+ (NSString *) formatDataStr:(NSDate*)date withFormat:(NSString *) format;
+ (NSString *) tranformDateStr:(long) time;
+ (NSString *) tranformDateStr:(long) time withFormat:(NSString *) format;
+ (NSString *) currentDateStr;
+ (NSString *) currentMillsString;

+ (long) currentMills;

+ (NSString *) getNSString:(const char *) string;

+ (const char *) getCString:(NSString *) string;
@end

#endif /* UnOSUtils_h */
