1
/* Interface for NSDateFormatter for GNUStep
2
Copyright (C) 1998 Free Software Foundation, Inc.
4
Header Written by: Camille Troillard <tuscland@wanadoo.fr>
6
Modified by: Richard Frith-Macdonald <richard@brainstorm.co.uk>
8
This file is part of the GNUstep Base Library.
10
This library is free software; you can redistribute it and/or
11
modify it under the terms of the GNU Library General Public
12
License as published by the Free Software Foundation; either
13
version 2 of the License, or (at your option) any later version.
15
This library is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
Library General Public License for more details.
20
You should have received a copy of the GNU Library General Public
21
License along with this library; if not, write to the Free
22
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
25
#ifndef __NSDateFormatter_h_GNUSTEP_BASE_INCLUDE
26
#define __NSDateFormatter_h_GNUSTEP_BASE_INCLUDE
28
#ifndef STRICT_OPENSTEP
30
#include <Foundation/NSFormatter.h>
32
@interface NSDateFormatter : NSFormatter <NSCoding, NSCopying>
34
NSString *_dateFormat;
35
BOOL _allowsNaturalLanguage;
38
/* Initializing an NSDateFormatter */
39
- (id) initWithDateFormat: (NSString *)format
40
allowNaturalLanguage: (BOOL)flag;
42
/* Determining Attributes */
43
- (BOOL) allowsNaturalLanguage;
44
- (NSString *) dateFormat;
49
#endif /* _NSDateFormatter_h_GNUSTEP_BASE_INCLUDE */