//
//  NSDate+YBFCategory.h
//  YiBiFen_CN
//
//  Created by zhaojunhui on 16/5/11.
//  Copyright © 2016年 hhly. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (YBFCategory)
-(int)day;
-(int)weekday;
- (instancetype)yesterday;
- (instancetype)tomorrow;
- (NSString *)stringWithFormat:(NSString *)format;
+ (NSString *)getCurrentTime;
+ (NSDate *)dateWithString:(NSString *)dateStr;

@end
