Ignore:
Timestamp:
Feb 25, 2008, 11:57:49 PM (14 years ago)
Author:
livings124
Message:

temp code for testing time output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/NSStringAdditions.m

    r5099 r5117  
    105105+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds
    106106{
    107     return [NSString timeString: seconds showSeconds:showSeconds maxDigits: UINT_MAX];
     107    return [NSString timeString: seconds showSeconds: showSeconds maxDigits: UINT_MAX];
    108108}
    109109
    110 + (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds maxDigits: (NSUInteger) max
     110+ (NSString *) timeString: (NSUInteger) seconds showSeconds: (BOOL) showSeconds maxDigits: (NSUInteger) max
    111111{
     112    NSLog(@"seconds: %u max digits: %u", seconds, max);
    112113    NSMutableArray * timeArray = [NSMutableArray arrayWithCapacity: MIN(max, 4)];
    113114    uint64_t remaining = seconds;
Note: See TracChangeset for help on using the changeset viewer.