//
//  NSString+KLTDateString.h
//  KaiLiTe
//
//  Created by boosal on 2016/9/7.
//  Copyright © 2016年 boosal. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (KLTDateString)

+ (NSString *)getWholeStringWithDate:(NSDate *)date;
+ (NSString *)getDayStringWithDate:(NSDate *)date;
+ (NSString *)getHourStringWithDate:(NSDate *)date;
+ (NSString *)getMinuteStringWithDate:(NSDate *)date;

+ (NSDate *)getMinuteDateWithString:(NSString *)string;
+ (NSDate *)getHourDateWithString:(NSString *)string;
+ (NSDate *)getDayDateWithString:(NSString *)string;
+ (NSDate *)getDateTimeWithString:(NSString *)string;


+ (NSString *)getTimeStringWithCount:(int)count;

- (BOOL)klt_containsString:(NSString *)other;
- (BOOL)klt_hasValidTransmit;
// 字符反转 numbers：反转的每组长度
- (NSString *)reverseToSting:(NSUInteger)numbers;

+ (NSDate *)getDateFromWholeString:(NSString *)whole;

+ (NSString *)getLocalFromUTC:(NSString *)utc;
+ (NSString *)getUTCFormatDate:(NSString *)localDate;

@end
