root/Trunk/AIUtilities.framework/Versions/A/Headers/AIDateFormatterAdditions.h @ 2

Revision 2, 1.1 KB (checked in by jon, 16 years ago)

Initial commit of skeletal project.

Line 
1//
2//  AIDateFormatterAdditions.h
3//  Adium
4//
5//  Created by Evan Schoenberg on Wed Oct 01 2003.
6//  Copyright (c) 2003-2005 The Adium Team. All rights reserved.
7//
8
9@interface NSDateFormatter (AIDateFormatterAdditions)
10
11+ (NSDateFormatter *)localizedDateFormatter;
12+ (NSDateFormatter *)localizedShortDateFormatter;
13+ (NSDateFormatter *)localizedDateFormatterShowingSeconds:(BOOL)seconds showingAMorPM:(BOOL)showAmPm;
14+ (NSString *)localizedDateFormatStringShowingSeconds:(BOOL)seconds showingAMorPM:(BOOL)showAmPm;
15+ (NSString *)stringForTimeIntervalSinceDate:(NSDate *)inDate;
16+ (NSString *)stringForTimeIntervalSinceDate:(NSDate *)inDate showingSeconds:(BOOL)showSeconds abbreviated:(BOOL)abbreviate;
17+ (NSString *)stringForApproximateTimeIntervalBetweenDate:(NSDate *)firstDate andDate:(NSDate *)secondDate;
18+ (NSString *)stringForApproximateTimeInterval:(NSTimeInterval)interval abbreviated:(BOOL)abbreviate;
19+ (NSString *)stringForTimeInterval:(NSTimeInterval)interval;
20+ (NSString *)stringForTimeInterval:(NSTimeInterval)interval showingSeconds:(BOOL)showSeconds abbreviated:(BOOL)abbreviate approximated:(BOOL)approximate;
21@end
Note: See TracBrowser for help on using the browser.