This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ (NSString *)timeIntervalToStringWithInterval:(NSTimeInterval)interval | |
{ | |
NSString *retVal = @"At time of event"; | |
if (interval == 0) return retVal; | |
int second = 1; | |
int minute = second*60; | |
int hour = minute*60; | |
int day = hour*24; | |
// interval can be before (negative) or after (positive) |