//
//  Misc.h
//  JoywayLib
//
//  Created by Bob Xia on 17/1/4.
//  Copyright © 2017年 ___JOYWAY___. All rights reserved.
//

#ifndef Misc_h
#define Misc_h

#import <UIKit/UIKit.h>

@interface Misc : NSObject

+(NSInteger) getYearOfDate:(NSDate*)date;
+(NSInteger) getMonthOfDate:(NSDate*)date;
+(NSInteger) getDayOfDate:(NSDate*)date;
+(NSInteger) getHourOfDate:(NSDate*)date;
+(NSInteger) getMinuteOfDate:(NSDate*)date;
+(NSInteger) getSecondOfDate:(NSDate*)date;


@end


#endif /* Misc_h */
