HKPCommon.h 624 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // HKPCommon.h
  3. // HKPTimeLine 仿赤兔、微博动态
  4. // CSDN: http://blog.csdn.net/samuelandkevin
  5. // Created by samuelandkevin on 16/9/20.
  6. // Copyright © 2016年 HKP. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface HKPCommon : NSObject
  10. @end
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. NSString *showDateString(NSString *dateString);
  15. NSDate *dateFromString(NSString *dateString);
  16. NSString *getNormalShowDateString(NSDate *date);
  17. NSString *toStringByformat(NSString *dateFormat,NSDate *date);
  18. #ifdef __cplusplus
  19. }; // extern
  20. #endif