//
//  NSString+HWMExtension.h
//  HWMUISDKNativeDemo
//
//  Created by guomeng on 2020/11/3.
//  Copyright © 2020 Huawei Technologies Co. Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (HWMSDKDemoExtension)

+ (NSString *)getLocalTimeZoneTimeWithTimeInterval:(NSTimeInterval)timeInteral
                                           format:(NSString *)format;

+ (NSTimeInterval)getTimeIntervalWithDateString:(NSString *)dateString;

+ (NSTimeInterval)getTimeStampWithDateString:(NSString *)dateString;
+ (NSTimeInterval)getTimeStampWithDateString:(NSString *)dateString format:(NSString *)format;

+ (NSString *)timeStringFromTimeInterval:(NSTimeInterval)timeInteral;
+ (NSString *)timeStringFromTimeInterval:(NSTimeInterval)timeInteral format:(NSString *)format;

@end

NS_ASSUME_NONNULL_END
