123456789101112131415161718192021222324252627282930 |
- #import <Foundation/Foundation.h>
- #define D_MINUTE 60
- #define D_HOUR 3600
- #define D_DAY 86400
- #define D_WEEK 604800
- #define D_YEAR 31556926
- NS_ASSUME_NONNULL_BEGIN
- @interface EMDateHelper : NSObject
- + (NSDate *)dateWithTimeIntervalInMilliSecondSince1970:(double)aMilliSecond;
- + (NSString *)formattedTimeFromTimeInterval:(long long)aTimeInterval;
- + (NSString *)formattedTime:(NSDate *)aDate;
- @end
- NS_ASSUME_NONNULL_END
|