mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
76 lines
1.7 KiB
Objective-C
76 lines
1.7 KiB
Objective-C
|
|
/* Implementation of class NSLengthFormatter
|
|
Copyright (C) 2019 Free Software Foundation, Inc.
|
|
|
|
By: heron
|
|
Date: Tue Oct 8 13:30:33 EDT 2019
|
|
|
|
This file is part of the GNUstep Library.
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Lesser General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2 of the License, or (at your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with this library; if not, write to the Free
|
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
Boston, MA 02111 USA.
|
|
*/
|
|
|
|
#include <Foundation/NSLengthFormatter.h>
|
|
|
|
@implementation NSLengthFormatter
|
|
|
|
- (NSNumberFormatter *) numberFormatter
|
|
{
|
|
}
|
|
|
|
- (void) setNumberFormatter: (NSNumberFormatter *)formatter
|
|
{
|
|
}
|
|
|
|
- (NSFormattingUnitStyle) unitStyle
|
|
{
|
|
}
|
|
|
|
- (void) setUnitStyle: (NSFormattingUnitStyle)style
|
|
{
|
|
}
|
|
|
|
- (BOOL) isForPersonHeightUse
|
|
{
|
|
}
|
|
|
|
- (void) setForPersonHeightUse: (BOOL)flag
|
|
{
|
|
}
|
|
|
|
- (NSString *) stringFromValue: (double)value unit: (NSLengthFormatterUnit)unit
|
|
{
|
|
}
|
|
|
|
- (NSString *) stringFromMeters: (double)numberInMeters
|
|
{
|
|
}
|
|
|
|
- (NSString *) unitStringFromValue: (double)value unit: (NSLengthFormatterUnit)unit
|
|
{
|
|
}
|
|
|
|
- (NSString *) unitStringFromMeters: (double)numberInMeters usedUnit: (NSLengthFormatterUnit *)unit
|
|
{
|
|
}
|
|
|
|
- (BOOL)getObjectValue: (id*)obj forString: (NSString *)string errorDescription: (NSString **)error
|
|
{
|
|
return NO;
|
|
}
|
|
|
|
@end
|
|
|