mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 14:10:44 +00:00
NSDateFormatter and NSNumberFormatter additions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@11626 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
63cc43c1ac
commit
07f2ac5a37
1 changed files with 33 additions and 0 deletions
|
@ -174,6 +174,39 @@ extern NSString *GormLinkPboardType;
|
|||
- (void) takeClassFrom: (id)sender;
|
||||
@end
|
||||
|
||||
/*
|
||||
* NSDateFormatter and NSNumberFormatter extensions
|
||||
* for Gorm Formatters used in the Data Palette
|
||||
*/
|
||||
|
||||
@interface NSDateFormatter (GormAdditions)
|
||||
|
||||
+ (void) initialize;
|
||||
+ (int) formatCount;
|
||||
+ (NSString *) formatAtIndex: (int)index;
|
||||
+ (int) indexOfFormat: (NSString *) format;
|
||||
+ (NSString *) defaultFormat;
|
||||
+ (id) defaultFormatValue;
|
||||
|
||||
@end
|
||||
|
||||
@interface NSNumberFormatter (GormAdditions)
|
||||
|
||||
+ (void) initialize;
|
||||
+ (int) formatCount;
|
||||
+ (NSString *) formatAtIndex: (int)index;
|
||||
+ (NSString *) positiveFormatAtIndex: (int)index;
|
||||
+ (NSString *) zeroFormatAtIndex: (int)index;
|
||||
+ (NSString *) negativeFormatAtIndex: (int)index;
|
||||
+ (NSDecimalNumber *) positiveValueAtIndex: (int)index;
|
||||
+ (NSDecimalNumber *) negativeValueAtIndex: (int)index;
|
||||
+ (int) indexOfFormat: format;
|
||||
+ (NSString *) defaultFormat;
|
||||
+ (id) defaultFormatValue;
|
||||
- (NSString *) zeroFormat;
|
||||
|
||||
@end
|
||||
|
||||
/*
|
||||
* Functions for drawing knobs etc.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue