Implemented a few NSNumberFormatter methods.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31862 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Stefan Bidigaray 2011-01-09 20:18:51 +00:00
parent 85149f6b35
commit d3857cd49f
4 changed files with 492 additions and 13 deletions

View file

@ -56,7 +56,7 @@ enum
{
NSNumberFormatterBehaviorDefault = 0,
NSNumberFormatterBehavior10_0 = 1000,
NSNumberFormatterBehavior10_4 = 1040,
NSNumberFormatterBehavior10_4 = 1040
};
typedef NSUInteger NSNumberFormatterBehavior;
@ -137,6 +137,13 @@ typedef NSUInteger NSNumberFormatterRoundingMode;
NSString *_positiveFormat;
NSDictionary *_attributesForPositiveValues;
NSDictionary *_attributesForNegativeValues;
// 10.4+ variables
NSUInteger _behavior;
BOOL _genDecimal;
NSUInteger _style;
NSLocale *_locale;
void *_formatter;
#endif
#if !GS_NONFRAGILE
void *_unused;