- Timestamp:
- 12/21/09 22:12:46 (15 years ago)
- Location:
- trunk/Cocoa/Pester/Source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/NSCalendarDate-OFExtensions.h
r102 r603 13 13 + (NSCalendarDate *)unixReferenceDate; 14 14 - (void)setToUnixDateFormat; 15 - initWithTime_t:(int)time;16 15 17 16 - (NSCalendarDate *)safeReferenceDate; -
trunk/Cocoa/Pester/Source/NSCalendarDate-OFExtensions.m
r102 r603 31 31 else 32 32 [self setCalendarFormat:@"%b %d %Y"]; 33 }34 35 - initWithTime_t:(int)time;36 {37 NSCalendarDate *date;38 39 date = (id)[self initWithTimeInterval:time sinceDate:[isa unixReferenceDate]];40 [date setToUnixDateFormat];41 return date;42 33 } 43 34
Note:
See TracChangeset
for help on using the changeset viewer.