Changeset 5117 for trunk/macosx/NSStringAdditions.m
- Timestamp:
- Feb 25, 2008, 11:57:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/NSStringAdditions.m
r5099 r5117 105 105 + (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds 106 106 { 107 return [NSString timeString: seconds showSeconds: showSeconds maxDigits: UINT_MAX];107 return [NSString timeString: seconds showSeconds: showSeconds maxDigits: UINT_MAX]; 108 108 } 109 109 110 + (NSString *) timeString: ( uint64_t) seconds showSeconds: (BOOL) showSeconds maxDigits: (NSUInteger) max110 + (NSString *) timeString: (NSUInteger) seconds showSeconds: (BOOL) showSeconds maxDigits: (NSUInteger) max 111 111 { 112 NSLog(@"seconds: %u max digits: %u", seconds, max); 112 113 NSMutableArray * timeArray = [NSMutableArray arrayWithCapacity: MIN(max, 4)]; 113 114 uint64_t remaining = seconds;
Note: See TracChangeset
for help on using the changeset viewer.